I would like to add the following rule in my urlrewrite.xml (Lucee server):
<from>^([a-zA-Z0-9\/\-\%\+:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\)\^_`~]*)$</from>
<to type="passthrough">/index.cfm?furl=$1</to>
but unfortunately i receive an error regarding < character. For your better assistance, i attach the following image:
Any idea that could help me?
Regards
You're putting invalid characters in your XML value.
This is what it should be:
<from>^([a-zA-Z0-9\/\-\%\+:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\)\^_`~]*)$</from>
These characters need to be escaped in XML:
&
'
"
<
>