MCPcopy Create free account
hub / github.com/apache/httpd / ap_proxy_canonenc

Function ap_proxy_canonenc

modules/proxy/proxy_util.c:321–329  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

319 * those which must not be touched.
320 */
321PROXY_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.

Callers 3

proxy_ftp_canonFunction · 0.85
ap_proxy_canon_netlocFunction · 0.85
proxy_http2_canonFunction · 0.85

Calls 1

ap_proxy_canonenc_exFunction · 0.85

Tested by

no test coverage detected