mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 07:35:53 +00:00
Do not use & in url
This commit is contained in:
1 parent
2dd0398aa3
commit
fed2d0ff47
1 file changed
+1
-1
@@ -710,7 +710,7 @@ public class Util {
|
||||
// Encode control chars and space
|
||||
for (i = 0; i < 33; i++) uriMap[i] = true;
|
||||
for (int j = 0; j < raw.length(); i++, j++)
|
||||
uriMap[i] = (raw.charAt(j) == ' ');
|
||||
uriMap[i] = (raw.charAt(j) == ' ' || raw.charAt(j) =='&');
|
||||
// If we add encodeQuery() just add a 2nd map to encode &+=
|
||||
// queryMap[38] = queryMap[43] = queryMap[61] = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user