You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/11/26 20:14:44 UTC
[jira] Resolved: (WICKET-1920) Settings mounts as case insensitive
causes 404 errors if case is included when mounting pages.
[ https://issues.apache.org/jira/browse/WICKET-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1920.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC2
Assignee: Igor Vaynberg
> Settings mounts as case insensitive causes 404 errors if case is included when mounting pages.
> ----------------------------------------------------------------------------------------------
>
> Key: WICKET-1920
> URL: https://issues.apache.org/jira/browse/WICKET-1920
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Environment: Windows XP, Java 1.6, Wicket 1.4-SNAPSHOT revision 712226
> Reporter: Matthew R Hanlon
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4-RC2
>
> Attachments: MountsBugTestCase.tar.bz2
>
>
> Settings mounts as case insensitive causes 404 errors if case is included when mounting pages.
> Example:
> public class MyApplication extends WebApplication {
> ...
> @Override
> protected IRequestCycleProcessor newRequestCycleProcessor() {
> return new WebRequestCycleProcessor() {
> @Override
> protected IRequestCodingStrategy newRequestCodingStrategy() {
> WebRequestCodingStrategy.Settings strategySettings = new WebRequestCodingStrategy.Settings();
> strategySettings.setMountsCaseSensitive(false);
> return new WebRequestCodingStrategy(strategySettings);
> }
> };
> }
> ...
> @Override
> public void init() {
> ...
> mountBookmarkablePage("/mypage1", MyPage1.class); // works
> mountBookmarkablePage("/myPage2", MyPage2.class); // causes 404
> ...
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.