Thursday, September 14, 2017

Getting “A potentially dangerous Request.Path value was detected from the client (&)”

Solution :
   Checked URL

Correct :  http://www.example.com/test.aspx?param1=test&param2=king

Incorrect : http://www.example.com/test.aspx&param1=test&param2=king


Solve that by changing the line
from
<a href="/Sample/Question/5&jobId=2&type=additional" /> 
to
<a href="/Sample/Question/?id=5&jobId=2&type=additional" />

No comments:

Change default Port on Next.js app

 If any other app or process is running on port 3000 , you will get this error in your terminal Port 3000 is already in use. error Command f...