Skip to content

Commit

Permalink
Allow -?&=as well when mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Oct 28, 2011
1 parent 5534eae commit b266189
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -432,7 +432,7 @@ public void addAtmosphereHandler(String mapping, AtmosphereHandler h) {
private void addMapping(String path, AtmosphereHandlerWrapper w) {
// We are using JAXRS mapping algorithm.
if (path.contains("*")) {
path = path.replace("*", "[/a-zA-Z0-9-]+");
path = path.replace("*", "[/a-zA-Z0-9-&=;\\?]+");
}
atmosphereHandlers.put(path, w);

Expand Down

0 comments on commit b266189

Please sign in to comment.