ESAPI / owasp-esapi-js

An UNMAINTAINTED project originally exported from code.google.com/p/owasp-esapi-js. This project is deprecated. See the README.md for further details and possible alternatives.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having issues with URL validation

GoogleCodeExporter opened this issue · comments

I am using the below code to check the passing URL is valid or not.
Its giving true irrespective of the input I pass.Please let me know ,I am doing 
anything wrong.Attached in the jsp file contains the code.
What steps will reproduce the problem?
1. Please use the JSP file attached herewith to reproduce the issue.
2.
3.

What is the expected output? What do you see instead?
true or false depends on the input gets passed.

What version of the product are you using? On what operating system?
esapi4j-0.1.3 ,Windows 7 64 bit


Please provide any additional information below.
For Ex : I am passing input as <script>alert(1);</script>. The isValidInput fn 
returning true 

Original issue reported on code.google.com by send2sur...@gmail.com on 20 Jan 2015 at 11:41

Attachments: