-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: urlencode slash in urns too #4527
Conversation
4d9161f
to
85267ed
Compare
Looks like there are many flaky tests which fails repeatedly. My guess is that the hard coded ports for docker containers are the problem when other tests using the same containers/ports on the same host. |
d963bed
to
9e7fb9b
Compare
Urns for datasources with datasetNameDelimiter: "/" was not encoded correctly, resulting in REST calls not returning any data when querying with the urn.
9e7fb9b
to
1329123
Compare
It might be better to create a urlencode_urn somewhere which run returns urllib.parse.quote(id, safe="") and use that everythere, both in the code and the tests, but I do not know what's the best place to put it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* fix: urlencode slash in urns too + tests Co-authored-by: Ravindra Lanka <[email protected]>
Urns for datasources with datasetNameDelimiter: "/" was not encoded
correctly, resulting in REST calls not returning any data when querying
with the urn.
Checklist