summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-01-13 02:27:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:31 -0500
commit2c5a1e6bdde646fd51f36eb31043be0783cea0b1 (patch)
treec1d81b021f5b6a2d53ec5a1d594bf297b27a6c8c /source4/web_server
parent007c6f6e659c61e426deb97f6156d92723549f71 (diff)
downloadsamba-2c5a1e6bdde646fd51f36eb31043be0783cea0b1.tar.gz
samba-2c5a1e6bdde646fd51f36eb31043be0783cea0b1.tar.bz2
samba-2c5a1e6bdde646fd51f36eb31043be0783cea0b1.zip
r20723: Web Application Framework
- Clearly no one has ever tried to obtain the Referer from the web server before. :-) - Send the Referer from the web application, in preparation for later security updates. (These updates are not immediately necessary, as ScriptTransport is disabled and we check the content type on XmlHttpTransport. This isn't anything to worry about.) (This used to be commit 33c07f4b92ac349af85dff11e24111fb16d201d0)
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c
index 3e89f084b3..30ca17411e 100644
--- a/source4/web_server/http.c
+++ b/source4/web_server/http.c
@@ -456,7 +456,7 @@ static void http_setup_arrays(struct esp_state *esp)
}
SETVAR(ESP_REQUEST_OBJ, "COOKIE_SUPPORT", web->input.cookie?"True":"False");
- SETVAR(ESP_HEADERS_OBJ, "HTT_REFERER", web->input.referer);
+ SETVAR(ESP_HEADERS_OBJ, "HTTP_REFERER", web->input.referer);
SETVAR(ESP_HEADERS_OBJ, "HOST", web->input.host);
SETVAR(ESP_HEADERS_OBJ, "ACCEPT_ENCODING", web->input.accept_encoding);
SETVAR(ESP_HEADERS_OBJ, "ACCEPT_LANGUAGE", web->input.accept_language);