[ jetty-Bugs-1122602 ] web.xml filter mapping:comma-separated urls dont work (5.1.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jetty-Bugs-1122602 ] web.xml filter mapping:comma-separated urls dont work (5.1.2

SourceForge.net
Bugs item #1122602, was opened at 2005-02-14 19:15
Message generated for change (Settings changed) made by gregwilkins
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1122602&group_id=7322

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Servlets
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: ken lodge (klodge)
>Assigned to: Greg Wilkins (gregwilkins)
Summary: web.xml filter mapping:comma-separated urls dont work (5.1.2

Initial Comment:
I have a web app deployed on a Jetty 5.1.2 installation.
My web.xml contains the following entry:

<filter-mapping>
  <filter-name>CheckLoginFilter</filter-name>
  <url-pattern>*.do,*.jsp,/activitySearch</url-pattern>
</filter-mapping>  

In version 5.1.0, the filter is invoked as expected.  
However in versions 5.1.1. and 5.1.2, the filter is not
invoked.

Bug 1085611 was logged against v 5.1.1 and marked as
fixed in 5.1.2.  It identified that wildcard+suffix
filter-mapping was not working.

Workaround with version 5.1.2 is to include a separate
filter-mapping entry for each url pattern.


----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2005-02-19 22:39

Message:
Logged In: YES
user_id=44062

The servlet spec does not support comma separated URL lists.
Jetty itself does support comma separated lists in some
places, but
not for filters.

I will look to see if I can make jetty a bit more consistant
and
document it more.   But I will not be supportting non compliant
web.xml content.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1122602&group_id=7322


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss