patch for possible problems with normalization of '/' in urls. This applies in rare cases when '/' appear in post-properties

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6264 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent d8ca6e6bf1
commit 4b92d0b9b7

@ -401,6 +401,8 @@ public class yacyURL implements Serializable {
|| ch == '\'' || ch == '('
|| ch == ')' || ch == ';') {
sbuf.append((char)ch);
} else if (ch == '/') { // reserved, but may appear in post part where it should not be replaced
sbuf.append((char)ch);
} else if (ch <= 0x007f) { // other ASCII
sbuf.append(hex[ch]);
} else if (ch <= 0x07FF) { // non-ASCII <= 0x7FF

Loading…
Cancel
Save