urldecode
username = urldecode(username);
pass = urldecode(pass);
ui = urldecode(userinfo);
static char *urldecode(const char *);
if ((user = urldecode(tmp)) == NULL)
if ((path = urldecode(tmp)) == NULL)
urldecode(param, len))) != 0)