add quotes to pathchars to support more broken URLs
This commit is contained in:
parent
5481cf1b9d
commit
acd8a776fb
|
@ -519,7 +519,7 @@ text/plain
|
||||||
userchars = "-A-Za-z0-9"
|
userchars = "-A-Za-z0-9"
|
||||||
passchars = "-A-Za-z0-9,?;.:/!%$^*&~\"#'"
|
passchars = "-A-Za-z0-9,?;.:/!%$^*&~\"#'"
|
||||||
hostchars = "-A-Za-z0-9"
|
hostchars = "-A-Za-z0-9"
|
||||||
pathchars = "-A-Za-z0-9_$.+!*(),;:@&=?/~#%'"
|
pathchars = "-A-Za-z0-9_$.+!*(),;:@&=?/~#%'\""
|
||||||
schemes = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)"
|
schemes = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)"
|
||||||
user = "[" + userchars + "]+(:[" + passchars + "]+)?"
|
user = "[" + userchars + "]+(:[" + passchars + "]+)?"
|
||||||
urlpath = "/[" + pathchars + "]*[^]'.}>) \t\r\n,\\\"]"
|
urlpath = "/[" + pathchars + "]*[^]'.}>) \t\r\n,\\\"]"
|
||||||
|
|
Loading…
Reference in New Issue