Skip to content
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

Bug 485. URL encode DID names. #497

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

MytsV
Copy link
Contributor

@MytsV MytsV commented Oct 17, 2024

Fix #485

With this fix, the detailed view of the DIDs should become functional when slashes are present in the name.

@MytsV MytsV requested a review from maany October 17, 2024 15:08
Copy link
Member

@maany maany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we also need to change the requests going from the gateway endpoints to the rucio server?

@maany maany added this to the 35.4.0 milestone Oct 21, 2024
@maany
Copy link
Member

maany commented Oct 21, 2024

Hey @MytsV, could you also update the gateway endpoint to url encode any query parameters going out of the webui to the rucio server. I believe if you change the SDK, we should be able to capture all such usecases in a single go.

@MytsV
Copy link
Contributor Author

MytsV commented Oct 21, 2024

The test I fixed send a request with a slash but didn't account for encoding.

In general, I'll try to perform some additional checks

@MytsV MytsV force-pushed the bug-485-slash_dids_resolution branch from 0ddbaa9 to c37eb41 Compare October 23, 2024 13:30
@maany maany merged commit d3869f0 into rucio:master Oct 29, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebUI should escape slash characters when sent to server
2 participants