Fixed issue #2670. URL parsing '?#' (#2827)

This commit is contained in:
Alberto Castillo - acg 2016-09-10 12:17:17 -05:00 committed by Ben Gotow
parent 9ac730cccc
commit 14aab71cd7

View file

@ -101,7 +101,7 @@ RegExpUtils =
# optionally followed by: a query string and/or a #location
# (last character must not be puncation, hence two groups)
'(?:(\\?[\\-\\+=&;%@\\.\\w_]*[\\-\\+=&;%@\\w_\\/]+)?#?(?:[\'\\$\\&\\(\\)\\*\\+,;=\\.\\!\\/\\\\\\w%-]*[\\/\\\\\\w]+)?)?'
'(?:(\\?[\\-\\+=&;%@\\.\\w_\\#]*[\\#\\-\\+=&;%@\\w_\\/]+)?#?(?:[\'\\$\\&\\(\\)\\*\\+,;=\\.\\!\\/\\\\\\w%-]*[\\/\\\\\\w]+)?)?'
')?'
')'
]