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.

Reply via email to