Re: Security issue with the editor - html encoding from the view

  •  03-07-2013, 12:45 PM

    Re: Security issue with the editor - html encoding from the view

    Hi,

     

    I tried doing this (in my ASP.NET MVC 4 web app), but my text is getting all garbled.  I entered this in the editor:

     

          This should be bold - would it?

     

    But this is what arrives in the controller:

     

          #3nb#7p;Thi#7 #7h#5uld b#9 #1#7tr#5ng#2b#5ld#1/#7tr#5ng#2 - w#5uld it? 

     

    Is there anything obvious I'm doing wrong?

     

    Thanks,

    Dirk 

View Complete Thread