summaryrefslogtreecommitdiffstats
path: root/www/apache22
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-12-13 10:51:41 +0000
committerclement <clement@FreeBSD.org>2005-12-13 10:51:41 +0000
commit23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a (patch)
tree406ff2aeac10f13aa3382d7e71087661b77a124b /www/apache22
parente95f3bbb182c81df138ef803912f1bcb397a7b81 (diff)
downloadFreeBSD-ports-23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a.zip
FreeBSD-ports-23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a.tar.gz
- Fix typo (it's actually in apache SVN repo)
Reported by: Matt Smith <matt@xtaz.co.uk>
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/files/patch-secfix-CAN-2005-33522
1 files changed, 1 insertions, 1 deletions
diff --git a/www/apache22/files/patch-secfix-CAN-2005-3352 b/www/apache22/files/patch-secfix-CAN-2005-3352
index cc97428..ec323c2 100644
--- a/www/apache22/files/patch-secfix-CAN-2005-3352
+++ b/www/apache22/files/patch-secfix-CAN-2005-3352
@@ -5,7 +5,7 @@
referer = apr_table_get(r->headers_in, "Referer");
if (referer && *referer) {
- return apr_pstrdup(r->pool, referer);
-+ return apr_escape_html(r->pool, referer);
++ return ap_escape_html(r->pool, referer);
}
else {
/* XXX: This used to do *value = '\0'; ... which is totally bogus
OpenPOWER on IntegriCloud