Developer forum

Forum » Development » CDATA tag in GlobalSettings

CDATA tag in GlobalSettings

Anders Ebdrup
Reply

Hi,

 

I have tried to add a new node i the GlobalSettings file, but I have trouble with the cdata section:

 

      <OverRideSqlInjectionRegEx><![CDATA[(--|xp_|3%0|<|>|\n|\r)]]></OverRideSqlInjectionRegEx>

I have attached the exception from Dynamicweb.

 

Any help on how to add a cdata-section will be appreciated.

 

Best regards, Anders

Udklip.PNG

Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Anders

 

Just escape the characters:

 

<OverRideSqlInjectionRegEx>(--|xp_|3%0|&lt;|&gt;|\n|\r)</OverRideSqlInjectionRegEx>
Votes for this answer: 1

 

You must be logged in to post in the forum