Open jvoisin opened 7 years ago
It would be great to have regressive matching on url, like:
/pif/paf/pouf/test.gif
/pif/paf/pouet
/pif/pof
would result in a rule on ^/pif/.
^/pif/
Do you mean : ^/pif/[a-z/]+(\.gif)*$? Generating regex without supervision sounds quite dangerous, as one might abuse the regex, with an url such as /pif/../../../another-file.php
^/pif/[a-z/]+(\.gif)*$
/pif/../../../another-file.php
.. won't be allowed, yes.
..
It would be great to have regressive matching on url, like:
/pif/paf/pouf/test.gif
/pif/paf/pouet
/pif/pof
would result in a rule on
^/pif/
.