aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-12-13 18:51:41 +0800
committerclement <clement@FreeBSD.org>2005-12-13 18:51:41 +0800
commit23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a (patch)
tree406ff2aeac10f13aa3382d7e71087661b77a124b /www
parente95f3bbb182c81df138ef803912f1bcb397a7b81 (diff)
downloadfreebsd-ports-gnome-23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a.tar.gz
freebsd-ports-gnome-23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a.tar.zst
freebsd-ports-gnome-23d3cca18b3d32ab170e6ae1c89312cf8e7eca8a.zip
- Fix typo (it's actually in apache SVN repo)
Reported by: Matt Smith <matt@xtaz.co.uk>
Diffstat (limited to 'www')
-rw-r--r--www/apache21/files/patch-secfix-CAN-2005-33522
-rw-r--r--www/apache22/files/patch-secfix-CAN-2005-33522
2 files changed, 2 insertions, 2 deletions
diff --git a/www/apache21/files/patch-secfix-CAN-2005-3352 b/www/apache21/files/patch-secfix-CAN-2005-3352
index 092c55043d44..4afe7d978d43 100644
--- a/www/apache21/files/patch-secfix-CAN-2005-3352
+++ b/www/apache21/files/patch-secfix-CAN-2005-3352
@@ -28,7 +28,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
diff --git a/www/apache22/files/patch-secfix-CAN-2005-3352 b/www/apache22/files/patch-secfix-CAN-2005-3352
index cc97428d6b80..ec323c26da5a 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