summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/boa-patches/040-allow_8bit.patch
blob: bec758c344038289fbcdf52d8b9c3f9490add2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: boa-0.94.14rc21/src/util.c
===================================================================
--- boa-0.94.14rc21.orig/src/util.c	2007-08-08 20:05:06.000000000 -0400
+++ boa-0.94.14rc21/src/util.c	2007-08-08 20:05:14.000000000 -0400
@@ -410,11 +410,6 @@
             uri_old++;
             if ((c = *uri_old++) && (d = *uri_old++)) {
                 *uri = HEX_TO_DECIMAL(c, d);
-                if (*uri < 32 || *uri > 126) {
-                    /* control chars in URI */
-                    *uri = '\0';
-                    return 0;
-                }
             } else {
                 *uri = '\0';
                 return 0;