moresandeep commented on issue #70: KNOX-1817 - Fix XSS issues with Alias API
URL: https://github.com/apache/knox/pull/70#issuecomment-472203740
 
 
   > was
   
   Thanks @rlevas for using the <script> example. I was in two minds about 
using the HTML encoder (which keeps the <script> tag), the argument I had in my 
mind was, something like Angular can pull out the value from JSON and use it. I 
get your point that HTML encoding is the responsibility of the app that does 
the conversion and <script> have no meaning as far as JSON is concerned. I am 
inclined towards taking the HTML encoding out for the JSON responses now.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to