You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matthew R Hanlon (JIRA)" <ji...@apache.org> on 2008/11/07 20:59:44 UTC

[jira] Created: (WICKET-1920) Settings mounts as case insensitive causes 404 errors if case is included when mounting pages.

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
            Priority: Minor
         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.


[jira] Resolved: (WICKET-1920) Settings mounts as case insensitive causes 404 errors if case is included when mounting pages.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (WICKET-1920) Settings mounts as case insensitive causes 404 errors if case is included when mounting pages.

Posted by "Matthew R Hanlon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew R Hanlon updated WICKET-1920:
-------------------------------------

    Attachment: MountsBugTestCase.tar.bz2

QuickStart test case that reproduces this problem.

> 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
>            Priority: Minor
>         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.