View | Details | Raw Unified | Return to bug 54616
Collapse All | Expand All

(-)httpd-2.4.4/modules/proxy/proxy_util.c.orig (-2 / +7 lines)
Lines 2053-2060 Link Here
2053
        /* decode it if not already done */
2053
        /* decode it if not already done */
2054
        ch = x[i];
2054
        ch = x[i];
2055
        if (ch == '%' && apr_isxdigit(x[i + 1]) && apr_isxdigit(x[i + 2])) {
2055
        if (ch == '%' && apr_isxdigit(x[i + 1]) && apr_isxdigit(x[i + 2])) {
2056
            ch = ap_proxy_hex2c(&x[i + 1]);
2056
            if (!strncmp(x+i+1, "252f", 4)) {
2057
            i += 2;
2057
                ch = ap_proxy_hex2c(&x[i + 3]);
2058
                i += 4;
2059
            } else {
2060
                ch = ap_proxy_hex2c(&x[i + 1]);
2061
                i += 2;
2062
            }
2058
        }
2063
        }
2059
        x[j] = ch;
2064
        x[j] = ch;
2060
    }
2065
    }

Return to bug 54616