[jboss-jira] [JBoss JIRA] (WFLY-4766) Filter matching static resource confuses servlet matching logic
Kabir Khan (JIRA)
issues at jboss.org
Wed Dec 6 11:21:28 EST 2017
[ https://issues.jboss.org/browse/WFLY-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan closed WFLY-4766.
----------------------------
> Filter matching static resource confuses servlet matching logic
> ---------------------------------------------------------------
>
> Key: WFLY-4766
> URL: https://issues.jboss.org/browse/WFLY-4766
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 8.1.0.Final, 8.2.0.Final, 9.0.0.CR2, 10.0.0.Alpha2
> Reporter: Peter Major
> Assignee: Stuart Douglas
> Fix For: 9.0.0.Final, 10.0.0.Beta1
>
> Attachments: hello.war
>
>
> Imagine the following setup:
> * There are static files stored under the servlet context in the helloworld folder
> * there is a servlet mapped to /hello/*
> * there is a filter configured to match /helloworld/index.html
> For some reason with this set up the end result is that when I request /helloworld or /helloworld/index.html then the servlet is displayed instead of my static files (note that welcome-file-list was configured for index.html). As /hello/* *really* shouldn't match /helloworld I can only think that this is a bug in wildfly, possibly somewhere in undertow.
> Oddly enough, once the filter mapping is removed, suddenly the static file is served correctly, so the filter must have some role in this issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list