because we just decoded it. Hence just copy what we have instead of
redoing it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907565 13f79535-47bb-0310-9956-
ffa450edef68
return NULL;
}
ch = ap_proxy_hex2c(&x[i + 1]);
- i += 2;
if (ch != 0 && strchr(reserved, ch)) { /* keep it encoded */
- ap_proxy_c2hex(ch, &y[j]);
- j += 2;
+ y[j++] = x[i++];
+ y[j++] = x[i++];
+ y[j] = x[i];
continue;
}
+ i += 2;
}
/* recode it, if necessary */
if (!apr_isalnum(ch) && !strchr(allowed, ch)) {