[ http://jira.magnolia.info/browse/MAGNOLIA-1984?page=comments#action_15469 
] 
            
Grégory Joseph commented on MAGNOLIA-1984:
------------------------------------------

in fact, the SimpleUrlPattern used there isn't following the servlet mapping 
spec much. Maybe we should reimplement it there, of find some library that does 
it:


"SRV.11.2 Specification of Mappings
In the web application deployment descriptor, the following syntax is used to 
define
mappings:
• A string beginning with a '/' character and ending with a '/*' postfix is used
for path mapping.
• A string beginning with a '*.' prefix is used as an extension mapping.
• A string containing only the '/' character indicates the "default" servlet of 
the
application. In this case the servlet path is the request URI minus the context
path and the path info is null.
•All other strings are used for exact matches only."



> Mappings for wrapped servlets are not strict enough
> ---------------------------------------------------
>
>                 Key: MAGNOLIA-1984
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1984
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.2
>            Reporter: Grégory Joseph
>         Assigned To: Vivian Steller
>            Priority: Critical
>             Fix For: 3.5.3
>
>
> For instance if the mapping is /dms/*, the filter is *not* bypassed for 
> /foobar/dms/blah.html ...
> and the result is a 404 for URLs like 
> http://localhost:8080/magnoliaAuthor/modules/dms/example.html 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to