Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple URLs are not supported by Validator.Redirect #341

Open
GoogleCodeExporter opened this issue May 5, 2015 · 0 comments
Open

Multiple URLs are not supported by Validator.Redirect #341

GoogleCodeExporter opened this issue May 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Added multiple validators in regex like 
Validator.Redirect=^\\/test1.*$|^\\/test2.*$
2.Send a url with test2 as a parameter in it for Validation using 
new SecurityWrapperResponse(response).sendRedirect(URlToRedirect);

Here URlToRedirect contains 

What is the expected output? What do you see instead?
It should redirect the user to the specified URL. instead it thows IOException

What version of the product are you using? On what operating system? version 
esapi.2.1.0 OS Windows(Dev) / Linux ( Deploy )

Does this issue affect only a specified browser or set of browsers?
all browsers 


Please provide any additional information below.

Original issue reported on code.google.com by siddhirajpantoji on 10 Feb 2015 at 12:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant