Added support for passwords in userinfo of urls.
This commit is contained in:
parent
2870586cf9
commit
32dee82c58
|
@ -396,7 +396,7 @@ re_host (void)
|
||||||
"(" NOPARENS ")" \
|
"(" NOPARENS ")" \
|
||||||
")*" /* Zero or more occurrences of either of these */ \
|
")*" /* Zero or more occurrences of either of these */ \
|
||||||
"(?<![.,?!\\]])" /* Not allowed to end with these */
|
"(?<![.,?!\\]])" /* Not allowed to end with these */
|
||||||
#define USERINFO "([-a-z0-9._~%]+@)"
|
#define USERINFO "([-a-z0-9._~%]+(:[-a-z0-9._~%]*)?@)"
|
||||||
|
|
||||||
/* Flags used to describe URIs (RFC 3986)
|
/* Flags used to describe URIs (RFC 3986)
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue