MCPcopy Index your code
hub / github.com/MapServer/MapServer / unescape_url

Function unescape_url

cgiutil.c:394–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void unescape_url(char *url) {
395 register int x,y;
396
397 for(x=0,y=0;url[y];++x,++y) {
398 if((url[x] = url[y]) == '%') {
399 url[x] = x2c(&url[y+1]);
400 y+=2;
401 }
402 }
403 url[x] = '\0';
404}
405
406void plustospace(char *str) {
407 register int x;

Callers 1

loadParamsFunction · 0.85

Calls 1

x2cFunction · 0.85

Tested by

no test coverage detected