packages/libs/clearsilver/patches/102-add_x_requested_http_headers.patch
rhk 8b30049274 [packages] clearsilver: fix Config.in handling and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 17:02:13 +00:00

12 lines
348 B
Diff

--- a/cgi/cgi.c
+++ b/cgi/cgi.c
@@ -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}