search for: url_decode

Displaying 2 results from an estimated 2 matches for "url_decode".

2005 Mar 02
2
icecast2yp server problem...
...nk%2ednsalias%2eorg%3a8000%2ftest%2dvorbis%2eogg"; char *output = cgi_unescape_special_chars(input2); printf("%s is %s\n", input, output); gives http%3a%2f%2fspunk%2ednsalias%2eorg%3a8000%2ftest%2dvorbis%2eogg is http://spunk-dnsalias-org:8000/test-vorbis-ogg it seems there is a url_decode function in icecast2yp, but it seems to be unused.... best, j?rn
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...*fetch_args = NULL, *next_arg = NULL; + int fetch_ret, flush_ret, ret; + bool header, toobig; + uoff_t size; + + /* parse, decode, and validate the url */ + memset(&enc_parts, 0, sizeof enc_parts); + memset(&dec_parts, 0, sizeof dec_parts); + imap_url_parse(url, &enc_parts); + if (!imap_url_decode(&enc_parts, &dec_parts, &error) || + !catenate_url_validate(&dec_parts, &error)) { + client_send_tagline(ctx->cmd, + t_strconcat("NO [BADURL ", + imap_url_sanitize(url), + "] ", error, NULL)); + return FALSE; + } + + memset(&cfct...