- fix for fix... sry

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3084 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
karlchenofhell 18 years ago
parent 6118fb73ec
commit d30932c7d8

@ -769,11 +769,11 @@ public final class httpd implements serverHandler {
} else if (s.charAt(pos) == '%') { } else if (s.charAt(pos) == '%') {
// start change by [FB]: added UTF-escapes // start change by [FB]: added UTF-escapes
if (s.charAt(pos + 1) == 'u') { // UTF-16 escape if (s.charAt(pos + 1) == 'u') { // UTF-16 escape
pos += 6;
baos.write(Integer.parseInt(s.substring(pos + 2, pos + 6), 16)); baos.write(Integer.parseInt(s.substring(pos + 2, pos + 6), 16));
pos += 6;
} else { // normal escape } else { // normal escape
pos += 3;
baos.write(Integer.parseInt(s.substring(pos + 1, pos + 3), 16)); baos.write(Integer.parseInt(s.substring(pos + 1, pos + 3), 16));
pos += 3;
} }
// end change by [FB] // end change by [FB]
} else { } else {

Loading…
Cancel
Save