[java-shib-shared] branch main updated: Propagate charset into Java URL decoder.
Scott Cantor
cantor.2 at osu.edu
Thu Oct 2 15:08:24 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-shared.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=b31e8e18ea637ed30599678c5fd7b471c30c6dd3
The following commit(s) were added to refs/heads/main by this push:
new b31e8e18 Propagate charset into Java URL decoder.
b31e8e18 is described below
commit b31e8e18ea637ed30599678c5fd7b471c30c6dd3
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 2 11:08:18 2025 -0400
Propagate charset into Java URL decoder.
---
.../src/main/java/net/shibboleth/shared/net/URISupport.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shib-networking/src/main/java/net/shibboleth/shared/net/URISupport.java b/shib-networking/src/main/java/net/shibboleth/shared/net/URISupport.java
index bff4bed6..e03b46c2 100644
--- a/shib-networking/src/main/java/net/shibboleth/shared/net/URISupport.java
+++ b/shib-networking/src/main/java/net/shibboleth/shared/net/URISupport.java
@@ -402,10 +402,10 @@ public final class URISupport {
for (final String paramPair : paramPairs) {
param = paramPair.split("=");
if (param.length == 1) {
- queryParams.add(new Pair<>(decodeName ? doURLDecode(param[0]) : param[0], (String) null));
+ queryParams.add(new Pair<>(decodeName ? doURLDecode(param[0], charset) : param[0], (String) null));
} else {
queryParams.add(new Pair<>(decodeName ? doURLDecode(param[0]) : param[0],
- decodeValue ? doURLDecode(param[1]) : param[1]));
+ decodeValue ? doURLDecode(param[1], charset) : param[1]));
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list