* Convert a URL-encoded string to canonical form. * It decodes characters which need not be encoded, * and encodes those which must be encoded, and does not touch * those which must not be touched. */
| 319 | * those which must not be touched. |
| 320 | */ |
| 321 | PROXY_DECLARE(char *)ap_proxy_canonenc(apr_pool_t *p, const char *x, int len, |
| 322 | enum enctype t, int forcedec, |
| 323 | int proxyreq) |
| 324 | { |
| 325 | int flags; |
| 326 | |
| 327 | flags = forcedec ? PROXY_CANONENC_FORCEDEC : 0; |
| 328 | return ap_proxy_canonenc_ex(p, x, len, t, flags, proxyreq); |
| 329 | } |
| 330 | |
| 331 | /* |
| 332 | * Parses network-location. |
no test coverage detected