summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-07 16:44:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-07 16:44:51 +0000
commitf107196c3d04050313f3f590f0071257245d48b6 (patch)
treecd78a5fa7ab4d43dabe5ee4164acce8af5caed9e /libs
parentc6143b89d3fe85cdb44fb579ad0e543749206db1 (diff)
* luci/sgi/webuci: apply accept header fix - thanks Alina!
Diffstat (limited to 'libs')
-rw-r--r--libs/sgi-webuci/boa-patches/210-accept_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/sgi-webuci/boa-patches/210-accept_fix.patch b/libs/sgi-webuci/boa-patches/210-accept_fix.patch
new file mode 100644
index 000000000..5a3bdf8b5
--- /dev/null
+++ b/libs/sgi-webuci/boa-patches/210-accept_fix.patch
@@ -0,0 +1,15 @@
+Index: boa-0.94.13/src/request.c
+===================================================================
+--- boa-0.94.13.orig/src/request.c 2008-06-29 01:11:52.000000000 +0200
++++ boa-0.94.13/src/request.c 2008-10-07 18:10:59.000000000 +0200
+@@ -281,6 +281,10 @@
+ if (req->script_name)
+ free(req->script_name);
+
++#ifdef ACCEPT_ON
++ req->accept[0] = '\0';
++#endif
++
+ if ((req->keepalive == KA_ACTIVE) &&
+ (req->response_status < 500) && req->kacount > 0) {
+ int bytes_to_move;