Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Dangerous Request.Path on certain characters.

$
0
0

Im using the DB to rewrite all existing products to the new URL
i.e. 
/product/q-bond_powder_&_adhesive_bonding_kit_qbpa
to
/uk/q-bond-powder-adhesive-bonding-kit

The problem i have is that the server is showing an error on all links with an & symbol
A potentially dangerous Request.Path value was detected from the client (&).

This is my rule

<rules><rule name="DbProviderTest" stopProcessing="true"><match url="(.*)" /><conditions><add input="{DB:{R:1}}" pattern="(.+)" /></conditions><action type="Redirect" url="{C:1}" /></rule></rules>


I've tried using decode and encode, but i haven't been able to get it working.
Also added requestPathInvalidCharacters="" despite security concerns.

Can anyone help guide me on this.

Thanks


Viewing all articles
Browse latest Browse all 2482


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>