ocpsoft/prettyfaces — Issue #15: Update the JSESSIONID_PATTERN to support the hypen (-) character, used by Google App Engine.
Author: davidsedlar
Created: 2012-02-28 19:12:21+00:00
State: open

Google App Engine uses session ids, some of which include the hypen/dash character. This causes my Prettyfaces managed paths to do a infinite redirect loop.

You can test the issue yourself by appending something like this to the end of the address:
```
;jsessionid=1E-y6jzfx53ou9wymGmcfw
```
The proposed change to the PrettyContext.java:
```java
private static final Pattern JSESSIONID_PATTERN = Pattern.compile("(?i)^(.*);jsessionid=[\\w\\.-]+(.*)");
```