Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

- fix for fix... sry

karlchenofhelld30932c7d886
diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java
index 8305ed0ee..a94baa65b 100644
--- a/source/de/anomic/http/httpd.java
+++ b/source/de/anomic/http/httpd.java
@@ -769,11 +769,11 @@ public final class httpd implements serverHandler {
} else if (s.charAt(pos) == '%') {
// start change by [FB]: added UTF-escapes
if (s.charAt(pos + 1) == 'u') { // UTF-16 escape
- pos += 6;
baos.write(Integer.parseInt(s.substring(pos + 2, pos + 6), 16));
+ pos += 6;
} else { // normal escape
- pos += 3;
baos.write(Integer.parseInt(s.substring(pos + 1, pos + 3), 16));
+ pos += 3;
}
// end change by [FB]
} else {