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 Azarny (JIRA)" <ji...@apache.org> on 2010/09/06 10:07:34 UTC

[jira] Created: (WICKET-3032) WebApplication#mountBookmarkablePage with unicode path not works.

WebApplication#mountBookmarkablePage with unicode path not works.
-----------------------------------------------------------------

                 Key: WICKET-3032
                 URL: https://issues.apache.org/jira/browse/WICKET-3032
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.10
         Environment: Win XP, Tomcat 5.5, Java 1.6
            Reporter: Igor Azarny


404 error if bookmarkable page mounted with unicode path.


   protected void init() {
        getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
        mountBookmarkablePage("/страница2", Page2.class);   // Will not works because of unicode path
   }


Need changes in AbstractRequestTargetUrlCodingStrategy constructor mountPath must be encoded. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3032) WebApplication#mountBookmarkablePage with unicode path not works.

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

Martin Grigorov resolved WICKET-3032.
-------------------------------------

    Fix Version/s: 1.4.12
       Resolution: Fixed

Fixed with r996277 in Wicket 1.4.x.
Works fine already in Wicket 1.5.

> WebApplication#mountBookmarkablePage with unicode path not works.
> -----------------------------------------------------------------
>
>                 Key: WICKET-3032
>                 URL: https://issues.apache.org/jira/browse/WICKET-3032
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.10
>         Environment: Win XP, Tomcat 5.5, Java 1.6
>            Reporter: Igor Azarny
>            Assignee: Martin Grigorov
>             Fix For: 1.4.12
>
>         Attachments: 3032.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 404 error if bookmarkable page mounted with unicode path.
>    protected void init() {
>         getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
>         mountBookmarkablePage("/страница2", Page2.class);   // Will not works because of unicode path
>    }
> Need changes in AbstractRequestTargetUrlCodingStrategy constructor mountPath must be encoded. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3032) WebApplication#mountBookmarkablePage with unicode path not works.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908578#action_12908578 ] 

Hudson commented on WICKET-3032:
--------------------------------

Integrated in Apache Wicket 1.4.x #159 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/159/])
    WICKET-3032 WebApplication#mountBookmarkablePage with unicode path not works.

Use IRequestCycleSettings#getResponseRequestEncoding() to encode the mount path for url coding strategies


> WebApplication#mountBookmarkablePage with unicode path not works.
> -----------------------------------------------------------------
>
>                 Key: WICKET-3032
>                 URL: https://issues.apache.org/jira/browse/WICKET-3032
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.10
>         Environment: Win XP, Tomcat 5.5, Java 1.6
>            Reporter: Igor Azarny
>            Assignee: Martin Grigorov
>             Fix For: 1.4.12
>
>         Attachments: 3032.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 404 error if bookmarkable page mounted with unicode path.
>    protected void init() {
>         getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
>         mountBookmarkablePage("/страница2", Page2.class);   // Will not works because of unicode path
>    }
> Need changes in AbstractRequestTargetUrlCodingStrategy constructor mountPath must be encoded. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3032) WebApplication#mountBookmarkablePage with unicode path not works.

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

Igor Azarny updated WICKET-3032:
--------------------------------

    Attachment: 3032.zip

Attached application to reproduce this bug. The Page 3 link woll non works.

> WebApplication#mountBookmarkablePage with unicode path not works.
> -----------------------------------------------------------------
>
>                 Key: WICKET-3032
>                 URL: https://issues.apache.org/jira/browse/WICKET-3032
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.10
>         Environment: Win XP, Tomcat 5.5, Java 1.6
>            Reporter: Igor Azarny
>         Attachments: 3032.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 404 error if bookmarkable page mounted with unicode path.
>    protected void init() {
>         getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
>         mountBookmarkablePage("/страница2", Page2.class);   // Will not works because of unicode path
>    }
> Need changes in AbstractRequestTargetUrlCodingStrategy constructor mountPath must be encoded. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (WICKET-3032) WebApplication#mountBookmarkablePage with unicode path not works.

Posted by "Igor Azarny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906450#action_12906450 ] 

Igor Azarny edited comment on WICKET-3032 at 9/11/10 9:13 AM:
--------------------------------------------------------------

Attached application to reproduce this bug. The Page 3 link , from attached application, will non works.

      was (Author: azarny):
    Attached application to reproduce this bug. The Page 3 link woll non works.
  
> WebApplication#mountBookmarkablePage with unicode path not works.
> -----------------------------------------------------------------
>
>                 Key: WICKET-3032
>                 URL: https://issues.apache.org/jira/browse/WICKET-3032
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.10
>         Environment: Win XP, Tomcat 5.5, Java 1.6
>            Reporter: Igor Azarny
>         Attachments: 3032.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 404 error if bookmarkable page mounted with unicode path.
>    protected void init() {
>         getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
>         mountBookmarkablePage("/страница2", Page2.class);   // Will not works because of unicode path
>    }
> Need changes in AbstractRequestTargetUrlCodingStrategy constructor mountPath must be encoded. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-3032) WebApplication#mountBookmarkablePage with unicode path not works.

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

Martin Grigorov reassigned WICKET-3032:
---------------------------------------

    Assignee: Martin Grigorov

> WebApplication#mountBookmarkablePage with unicode path not works.
> -----------------------------------------------------------------
>
>                 Key: WICKET-3032
>                 URL: https://issues.apache.org/jira/browse/WICKET-3032
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.10
>         Environment: Win XP, Tomcat 5.5, Java 1.6
>            Reporter: Igor Azarny
>            Assignee: Martin Grigorov
>         Attachments: 3032.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 404 error if bookmarkable page mounted with unicode path.
>    protected void init() {
>         getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
>         mountBookmarkablePage("/страница2", Page2.class);   // Will not works because of unicode path
>    }
> Need changes in AbstractRequestTargetUrlCodingStrategy constructor mountPath must be encoded. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.