parse a port only if there are digits after the colon (see PR8060)
svn: r3097
This commit is contained in:
parent
28822a155d
commit
8593839057
|
@ -362,7 +362,7 @@
|
|||
"//"
|
||||
"(?:([^:/@;?#]*)@)?" ; =2 user-at-opt
|
||||
"([^:/@;?#]*)?" ; =3 host-opt
|
||||
"(?::([0-9]*))?" ; =4 colon-port-opt
|
||||
"(?::([0-9]+))?" ; =4 colon-port-opt
|
||||
")?" ; >B slashslash-opt
|
||||
")?" ; >A front-opt
|
||||
"([^?#]*)" ; =5 path
|
||||
|
|
Loading…
Reference in New Issue
Block a user