mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Add ; and = to support URI path segment parameters
RFC 3986 (the URI specification) describes the , ; and = characters used for including parameters in path segments. Typically these are seen only on the final segment, just before any query parameters, i.e. http://www.site.com/path1/path2;jsessionid=OI24B9ASD7BSSD Adding ; and = to the regex, as , is already included
This commit is contained in:
parent
b495b9e658
commit
6c1b208ab9
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ URIPROTO [A-Za-z]+(\+[A-Za-z+]+)?
|
|||
URIHOST %{IPORHOST}(?::%{POSINT:port})?
|
||||
# uripath comes loosely from RFC1738, but mostly from what Firefox
|
||||
# doesn't turn into %XX
|
||||
URIPATH (?:/[A-Za-z0-9$.+!*'(),~:;#%_-]*)+
|
||||
URIPATH (?:/[A-Za-z0-9$.+!*'(),~:;=#%_-]*)+
|
||||
#URIPARAM \?(?:[A-Za-z0-9]+(?:=(?:[^&]*))?(?:&(?:[A-Za-z0-9]+(?:=(?:[^&]*))?)?)*)?
|
||||
URIPARAM \?[A-Za-z0-9$.+!*'(),~#%&/=:;_-]*
|
||||
URIPATHPARAM %{URIPATH}(?:%{URIPARAM})?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue