fix ap_escape_quotes with pre-escaped quotes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892012 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/server/util.c b/server/util.c
index 72aa54d..2d7708a 100644
--- a/server/util.c
+++ b/server/util.c
@@ -2621,7 +2621,7 @@
* 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++;
}