Greetings!
When trying to add a source URI path containing a colon (:) through the backend module the validation fails, because it is not allowed in the regex /^[a-z0-9_\-\/\.%]+$/i.
It is possible to do it via commands:
./flow redirect:add --source 'category/subject:mysubject' --target 'category/subject:othersubject'
Although the colon is used in URIs for the protocol (like https://) or the port (like :80), it appears to be fine for usage in the URI path.
Related: In #101 it was proposed to have the regex only in one place, not two.
Thank you.
Greetings!
When trying to add a source URI path containing a colon (
:) through the backend module the validation fails, because it is not allowed in the regex/^[a-z0-9_\-\/\.%]+$/i.It is possible to do it via commands:
Although the colon is used in URIs for the protocol (like
https://) or the port (like:80), it appears to be fine for usage in the URI path.Related: In #101 it was proposed to have the regex only in one place, not two.
Thank you.