How to set some characters not to be included in forbidden URL characters

Martin Dobsicek asked on June 21, 2010 02:51

How to set some characters not to be included in forbidden URL characters

Correct Answer

Martin Dobsicek answered on June 21, 2010 02:51

You can add following key into "/configuration/appSettings" section in web.config file:

<add key="CMSForbiddenURLValues" value="\/:?\"<>|&%.'#[]+ =„“" />

it contains all characters forbidden by default so you can just remove characters you want not to be forbidden. E.g. if you want to set "+" character not to be forbidden you can change key to:

<add key="CMSForbiddenURLValues" value="\/:?\"<>|&%.'#[] =„“" />

0 votesVote for this answer Unmark Correct answer

Recent Answers


Jason S answered on November 5, 2014 17:51

Have you actually been able to make that above value work without ASP.NET complaining about invalid XML?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.