Status: New
Owner: ----

New issue 442 by cihan.uluisik: Guice servlet style uri mapping is not  
compatible with servlet API mappings on suffix wildcard patterns, like in   
/xxxx/*
http://code.google.com/p/google-guice/issues/detail?id=442

Hi,

In one project we migrated from Pico to Guice, we noticed that Guice does
not match a  url like '/xxxx', if you give  '/xxxx/*'  as url pattern to a
filter in a servlet module, whereas Servlet Api mapping does.

The reason is, In ServletStyleUriPatternMatcher '*' character is cut off
from the end of url pattern and then it is checked if the given servlet
path starts with it. To be more specific it checks if  '/xxxx' starts with
'/xxxx/' , which is false. I confirmed it by debugging Guice.

Cihan Uluisik
[email protected]

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to