Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACDCE11842 for ; Tue, 15 Apr 2014 19:13:14 +0000 (UTC) Received: (qmail 82258 invoked by uid 500); 15 Apr 2014 19:13:11 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 82221 invoked by uid 500); 15 Apr 2014 19:13:11 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 82146 invoked by uid 99); 15 Apr 2014 19:13:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2014 19:13:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2014 19:13:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 599702388860; Tue, 15 Apr 2014 19:12:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1587693 - in /httpd/httpd/branches/2.4.x: ./ CHANGES STATUS modules/filters/mod_proxy_html.c Date: Tue, 15 Apr 2014 19:12:48 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140415191248.599702388860@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jim Date: Tue Apr 15 19:12:47 2014 New Revision: 1587693 URL: http://svn.apache.org/r1587693 Log: Merge r1584878 from trunk: Do not delete the wrong data from HTML code when a "http-equiv" meta tag specifies a Content-Type behind any other "http-equiv" meta tag. PR 56287 [Micha Lenk ] Submitted by: jailletc36 Reviewed/backported by: jim Modified: httpd/httpd/branches/2.4.x/ (props changed) httpd/httpd/branches/2.4.x/CHANGES httpd/httpd/branches/2.4.x/STATUS httpd/httpd/branches/2.4.x/modules/filters/mod_proxy_html.c Propchange: httpd/httpd/branches/2.4.x/ ------------------------------------------------------------------------------ Merged /httpd/httpd/trunk:r1584878 Modified: httpd/httpd/branches/2.4.x/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?rev=1587693&r1=1587692&r2=1587693&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/CHANGES [utf-8] (original) +++ httpd/httpd/branches/2.4.x/CHANGES [utf-8] Tue Apr 15 19:12:47 2014 @@ -2,6 +2,10 @@ Changes with Apache 2.4.10 + *) mod_proxy_html: Do not delete the wrong data from HTML code when a + "http-equiv" meta tag specifies a Content-Type behind any other + "http-equiv" meta tag. PR 56287 [Micha Lenk ] + *) mod_lua: Redesign how request record table access behaves, in order to utilize the request record from within these tables [Daniel Gruno] Modified: httpd/httpd/branches/2.4.x/STATUS URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/STATUS?rev=1587693&r1=1587692&r2=1587693&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/STATUS (original) +++ httpd/httpd/branches/2.4.x/STATUS Tue Apr 15 19:12:47 2014 @@ -127,13 +127,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK: 2.4.x patch: trunk works (modulo CHANGES) +1: trawick, jim, ylavic - * mod_proxy_html: Do not delete the wrong data from HTML code when a - "http-equiv" meta tag specifies a Content-Type behind any other "http-equiv" - meta tag. PR 56287 [Micha Lenk ] - trunk patch: https://svn.apache.org/r1584878 - 2.4.x patch: trunk patch works (modulo CHANGES) - +1: jailletc36, jim, ylavic - PATCHES PROPOSED TO BACKPORT FROM TRUNK: [ New proposals should be added at the end of the list ] Modified: httpd/httpd/branches/2.4.x/modules/filters/mod_proxy_html.c URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/filters/mod_proxy_html.c?rev=1587693&r1=1587692&r2=1587693&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/modules/filters/mod_proxy_html.c (original) +++ httpd/httpd/branches/2.4.x/modules/filters/mod_proxy_html.c Tue Apr 15 19:12:47 2014 @@ -690,8 +690,8 @@ static meta *metafix(request_rec *r, con } else if (!strncasecmp(header, "Content-Type", 12)) { ret = apr_palloc(r->pool, sizeof(meta)); - ret->start = pmatch[0].rm_so; - ret->end = pmatch[0].rm_eo; + ret->start = offs+pmatch[0].rm_so; + ret->end = offs+pmatch[0].rm_eo; } if (header && content) { #ifndef GO_FASTER