twarne / xebia-france

Automatically exported from code.google.com/p/xebia-france
0 stars 0 forks source link

allowedInternalProxies parsing is broken #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add allowedInternalProxies init-param to filter
2. Supply example/default values as input
3. Start webapp

What is the expected output? What do you see instead?

No exceptions.

Illegal Pattern Syntax exception

What version of the product are you using? On what operating system?

1.0.8

Please provide any additional information below.

The example regexes have commas in them and the commaSeparatedValue pattern 
doesn't expect the regexes to have commas in them: 
http://code.google.com/p/xebia-france/source/browse/web/xebia-servlet-extras/tru
nk/src/main/java/fr/xebia/servlet/filter/XForwardedFilter.java#695

Workaround is to use regexes without commas.

Original issue reported on code.google.com by kldav...@gmail.com on 8 Dec 2012 at 2:04