summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/boa-patches/040-allow_8bit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-webuci/boa-patches/040-allow_8bit.patch')
-rw-r--r--libs/sgi-webuci/boa-patches/040-allow_8bit.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/sgi-webuci/boa-patches/040-allow_8bit.patch b/libs/sgi-webuci/boa-patches/040-allow_8bit.patch
new file mode 100644
index 0000000000..bec758c344
--- /dev/null
+++ b/libs/sgi-webuci/boa-patches/040-allow_8bit.patch
@@ -0,0 +1,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;