Skip to content

Commit

Permalink
HTML5 spec adds some characters to make a valid URI
Browse files Browse the repository at this point in the history
  • Loading branch information
paulRbr authored and Pere Urbon-Bayes committed Sep 7, 2015
1 parent 70628e9 commit ded5d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patterns/grok-patterns
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ URIHOST %{IPORHOST}(?::%{POSINT:port})?
# doesn't turn into %XX
URIPATH (?:/[A-Za-z0-9$.+!*'(){},~:;=@#%_\-]*)+
#URIPARAM \?(?:[A-Za-z0-9]+(?:=(?:[^&]*))?(?:&(?:[A-Za-z0-9]+(?:=(?:[^&]*))?)?)*)?
URIPARAM \?[A-Za-z0-9$.+!*'|(){},~@#%&/=:;_?\-\[\]]*
URIPARAM \?[A-Za-z0-9$.+!*'|(){},~@#%&/=:;_?\-\[\]<>]*
URIPATHPARAM %{URIPATH}(?:%{URIPARAM})?
URI %{URIPROTO}://(?:%{USER}(?::[^@]*)?@)?(?:%{URIHOST})?(?:%{URIPATHPARAM})?

Expand Down

0 comments on commit ded5d54

Please sign in to comment.