From: Mark J. Cox Date: Tue, 13 Dec 2005 18:28:01 +0000 (+0000) Subject: I commited the wrong patch to 2.2, jorton noticed this X-Git-Tag: 2.2.1~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecaafb570cc04b43ff009b536de90396a808f81b;p=thirdparty%2Fapache%2Fhttpd.git I commited the wrong patch to 2.2, jorton noticed this earlier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@356565 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_imagemap.c b/modules/mappers/mod_imagemap.c index b6637fa62a8..9bf8c1659f1 100644 --- a/modules/mappers/mod_imagemap.c +++ b/modules/mappers/mod_imagemap.c @@ -342,7 +342,7 @@ static char *imap_url(request_rec *r, const char *base, const char *value) if (!strcasecmp(value, "referer")) { referer = apr_table_get(r->headers_in, "Referer"); if (referer && *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