PDA

View Full Version : Spring 3.0.2 breaks our URL mapping for URLs ending in /



eborix13
Apr 5th, 2010, 09:01 PM
Hello,

I've just upgraded to Spring 3.0.2 and all URL mappings which end in a slash don't work anymore. Here's such an example:


<bean class="org.springframework.web.servlet.handler.SimpleUrlH andlerMapping">
<property name="interceptors">
<list>
<ref bean="localeChangeInterceptor"/>
</list>
</property>
<property name="mappings">
<value>
/people/=peopleController
/people/*=peopleRangeController (this one works)
</value>
</property>
</bean>

All of the following urls: "/anything/" redirect back to "/" which is the root of the site. The controllers that map to these urls are not called anymore.

These all worked with the previous version I used, namely 3.0.1.

Thanks...