mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Fix URIPARAM to allow square brackets
PHP uses these all the time.
This commit is contained in:
parent
334a26628a
commit
cd0e08e29d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,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})?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue