Skip to content

Use safe instead of .replace() for percent-encoding#224

Open
Yannic wants to merge 1 commit intopackage-url:mainfrom
Yannic:quote-safe-not-replace
Open

Use safe instead of .replace() for percent-encoding#224
Yannic wants to merge 1 commit intopackage-url:mainfrom
Yannic:quote-safe-not-replace

Conversation

@Yannic
Copy link

@Yannic Yannic commented Feb 11, 2026

Note that this incorrectly classifies / as safe character when it should be encoded for backward compatibility with the existing test suite. We should fix that in a follow-up.

Note that this incorrectly classifies `/` as safe character when
it should be encoded for backward compatibility with the existing test
suite.

It seems like the spec testsuite may be inconsistent whether `/` should be
encoded or not (e.g., Bazel does while Maven doesn't).
@Yannic Yannic mentioned this pull request Feb 11, 2026
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.

1 participant