2

In Sitefinity, I have a situation where I set & as value in Short text field. Then the value gets changed to &. I need to keep the value as & in Short text box type.

enter image description here

mzjn
  • 48,958
  • 13
  • 128
  • 248
Sami Hussain
  • 179
  • 3
  • 9

1 Answers1

0

This is a known bug in Sitefinity 10.1, please see this article for a workaround

In short, you should:

Go to Administration >> Settings >> Advanced >> Data >> Data Processors >> XSS sanitizer and uncheck the "Enabled" checkbox. Keep in mind, that by this the sanitizing of the input is stopped. Also, the previously created items with an ampersand, will not automatically change to '&', and this should be done manually.

Joel Min
  • 3,387
  • 3
  • 19
  • 38