cancel
Showing results for 
Search instead for 
Did you mean: 

Escaping ampersands in extraOptions

I'm getting the error (Error: Extra Options is invalid.) when passing extraOptions that contain an escaped ampresand like so.

 

<extraOptions><![CDATA[bizam=bizam&foo=b&amp;bar]]></extraOptions>

 

How should the embedded & be escaped so that it doesn't cause the error?

 

Thanks,

Phillip

 

pcave
Member
1 REPLY 1

 

Hi,

 

It should be escaped as &amp; like how you are doing it on the second place. It will look like this:

<extraOptions><![CDATA[bizam=bizam&amp;foo=b&amp;bar]]?></extraOptions> 

 

 

Thanks,

Joy 

Joy
Administrator Administrator
Administrator