Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one existing application which is in production.
user can able to enter these types of alerts in any of my text box.


〈script〉alert('hi there')〈/script >

as this is existing application i canot go each page and edit particular textbox.
i want a generic solution which wil support for all my aspx pages

Thanks in advance.

What I have tried:

have tried adding
<META http-equiv="Content-Security-Policy" content="script-src https://code.jquery.com 'self';">


after adding this application got struck
Posted
Updated 23-Sep-22 23:23pm

1 solution

I have one existing application which is in production.
user can able to enter these types of alerts in any of my text box.


〈script〉alert('hi there')〈/script >

as this is existing application i canot go each page and edit particular textbox.
i want a generic solution which wil support for all my aspx pages
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900