mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 08:36:01 +00:00
Merge pull request #496 from lvotypko/url-without-ampersand
Fix UtilTest and replace ampersand in method encode too Thanks !
This commit is contained in:
commit
5379a8100c
2 files changed
+11
-2
No files matched your search
@@ -678,7 +678,7 @@ public class Util {
|
||||
|
||||
for (int i = 0; i < s.length(); i++) {
|
||||
int c = s.charAt(i);
|
||||
if (c<128 && c!=' ') {
|
||||
if (c<128 && (c!=' ' && c!='&')) {
|
||||
out.append((char) c);
|
||||
} else {
|
||||
// 1 char -> UTF8
|
||||
|
||||
Reference in new issue
Block a user