mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 15:45:52 +00:00
Fix UtilTest and replace ampersand in method encode too
This commit is contained in:
1 parent
fed2d0ff47
commit
c667523d44
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