You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/08/10 08:55:54 UTC
svn commit: r1892171 - in /httpd/httpd/branches/2.4.x: ./ server/util.c
Author: icing
Date: Tue Aug 10 08:55:54 2021
New Revision: 1892171
URL: http://svn.apache.org/viewvc?rev=1892171&view=rev
Log:
Merged r1892012 from trunk:
*) core: fix ap_escape_quotes for pre-escaped quotes
Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/server/util.c
Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
Merged /httpd/httpd/trunk:r1892012
Modified: httpd/httpd/branches/2.4.x/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/util.c?rev=1892171&r1=1892170&r2=1892171&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/server/util.c (original)
+++ httpd/httpd/branches/2.4.x/server/util.c Tue Aug 10 08:55:54 2021
@@ -2542,7 +2542,7 @@ AP_DECLARE(char *) ap_escape_quotes(apr_
* in front of every " that doesn't already have one.
*/
while (*inchr != '\0') {
- if ((*inchr == '\\') && (inchr[1] != '\0')) {
+ while ((*inchr == '\\') && (inchr[1] != '\0')) {
*outchr++ = *inchr++;
*outchr++ = *inchr++;
}