if ((ret = uri_parse_query(parser, &part)) < 0)
return FALSE;
if (ret > 0) {
- if (!uri_data_decode(parser, part, NULL, NULL)) // check only
- return FALSE;
if (url != NULL)
url->enc_query = p_strdup(parser->pool, part);
} else if (relative && !have_path && url != NULL) {
parser->error = "URL fragment not allowed for HTTP URL in this context";
return FALSE;
}
- if (!uri_data_decode(parser, part, NULL, NULL)) // check only
- return FALSE;
if (url != NULL)
url->enc_fragment = p_strdup(parser->pool, part);
} else if (relative && !have_path && url != NULL) {