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

Issue 50861: Pass around properly encoded WebDav URLs #979

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

We are inconsistently encoding URIs in Strings and passing them around. Many codepaths end up double-encoding and then selectively decoding specific characters.

We can do better by using URI on the server and properly encoding throughout.

Related Pull Requests

Changes

  • Switch to URI to make it clear what's being passed around
  • Return encoded values in JSON and other responses

@labkey-jeckels labkey-jeckels merged commit 3b1615c into develop Nov 5, 2024
6 checks passed
@labkey-jeckels labkey-jeckels deleted the fb_50861_webdavUrlEncoding branch November 5, 2024 00:54
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.

3 participants