-
-
Notifications
You must be signed in to change notification settings - Fork 304
Open
Description
The following regex seems to need escapes for the "/" on most platforms.
If entered on the site https://regex-vis.com the escape backslash is deleted from "/" as soon as you press enter.
Oddly it does not do that with the escaped backslash "\" in the same regex.
^:?((('\/?(\\'|[^'])+')|("\/?(\\"|[^"])+")|(\/?([^'"])+)+):?)*$
is changed to
^:?((('/?(\\'|[^'])+')|("/?(\\"|[^"])+")|(/?([^'"])+)+):?)*$
Also, though perhaps this is just a limitation, if I enter more than three tests I just get a blank screen.
Example tests:
/usr/local/sbin:'/usr/lo\'cal/bin':/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/bin
I am guessing once you have a few like this it's breaking the size of the request URL or using characters that are not URL encoded properly.
Metadata
Metadata
Assignees
Labels
No labels