55e2d5a0a5
- patch to fix compilation warnings - patch to fix content type issue (causing problems with firefox 3) - patch to add XRequestedWith and XRequestedHandler HTTP headers git-svn-id: svn://svn.openwrt.org/openwrt/packages@13430 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
533 B
Diff
13 lines
533 B
Diff
diff -pruN clearsilver-0.10.5.orig/cgi/cgi.c clearsilver-0.10.5/cgi/cgi.c
|
|
--- clearsilver-0.10.5.orig/cgi/cgi.c 2007-07-12 04:38:03.000000000 +0200
|
|
+++ clearsilver-0.10.5/cgi/cgi.c 2008-01-28 12:04:50.000000000 +0100
|
|
@@ -201,6 +201,8 @@ struct _http_vars
|
|
{"HTTP_IF_MODIFIED_SINCE", "IfModifiedSince"},
|
|
{"HTTP_REFERER", "Referer"},
|
|
{"HTTP_VIA", "Via"},
|
|
+ {"HTTP_X_REQUESTED_WITH", "XRequestedWith"},
|
|
+ {"HTTP_X_REQUESTED_HANDLER", "XRequestedHandler"},
|
|
/* SOAP */
|
|
{"HTTP_SOAPACTION", "Soap.Action"},
|
|
{NULL, NULL}
|