You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Stefan Bohn (JIRA)" <ji...@apache.org> on 2009/08/05 08:39:14 UTC
[jira] Created: (JSPWIKI-583) Login Redirect broken
Login Redirect broken
---------------------
Key: JSPWIKI-583
URL: https://issues.apache.org/jira/browse/JSPWIKI-583
Project: JSPWiki
Issue Type: Bug
Components: Authentication&Authorization
Affects Versions: 2.8.2
Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
Firefox 3.5.1
Reporter: Stefan Bohn
The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
Container managed security with LDAP
Policies:
grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
};
grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
};
login
create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
logout
view page 'Aufwandschätzung'
login
you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JSPWIKI-583) Login Redirect broken
Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899063#action_12899063 ]
Harry Metske commented on JSPWIKI-583:
--------------------------------------
I cannot reproduce the Login redirect broken problem described here.
There is a problem when pasting the word "Aufwandschätzung" in the search field, I propose we change the title of this issue....
> Login Redirect broken
> ---------------------
>
> Key: JSPWIKI-583
> URL: https://issues.apache.org/jira/browse/JSPWIKI-583
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Affects Versions: 2.8.2
> Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
> Firefox 3.5.1
> Reporter: Stefan Bohn
>
> The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
> Container managed security with LDAP
> Policies:
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
> };
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
> };
> login
> create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
> logout
> view page 'Aufwandschätzung'
> login
> you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JSPWIKI-583) Login Redirect broken
Posted by "Marek Siegfried Son (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887284#action_12887284 ]
Marek Siegfried Son commented on JSPWIKI-583:
---------------------------------------------
Hi Florian,
it definitely is an encoding problem. My jspwiki.properties file and my Tomcat Connector are configured properly:
jspwiki.properties:
jspwiki.encoding = UTF-8
server.xml:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" proxyPort="80" proxyName="...." emptySessionPath="true" />
BTW: Creating new pages by putting links to non-existing pages in any page works fine. Only creating pages from the search field (quick navigation) doesn't work!
My Environment:
- Apache HTTP Server 2.2 and Tomcat 6.0.26 (connected via mod_proxy)
- JSPWiki 2.8.3
Thanks a lot for your help in advance!
Regards,
Marek
> Login Redirect broken
> ---------------------
>
> Key: JSPWIKI-583
> URL: https://issues.apache.org/jira/browse/JSPWIKI-583
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Affects Versions: 2.8.2
> Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
> Firefox 3.5.1
> Reporter: Stefan Bohn
>
> The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
> Container managed security with LDAP
> Policies:
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
> };
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
> };
> login
> create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
> logout
> view page 'Aufwandschätzung'
> login
> you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JSPWIKI-583) editing pages via the Quick Navigation field does not work for pages with non-ASCII chars (like Aufwandschätzung)
Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harry Metske updated JSPWIKI-583:
---------------------------------
Summary: editing pages via the Quick Navigation field does not work for pages with non-ASCII chars (like Aufwandschätzung) (was: Login Redirect broken)
> editing pages via the Quick Navigation field does not work for pages with non-ASCII chars (like Aufwandschätzung)
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JSPWIKI-583
> URL: https://issues.apache.org/jira/browse/JSPWIKI-583
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Affects Versions: 2.8.2
> Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
> Firefox 3.5.1
> Reporter: Stefan Bohn
>
> The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
> Container managed security with LDAP
> Policies:
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
> };
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
> };
> login
> create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
> logout
> view page 'Aufwandschätzung'
> login
> you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JSPWIKI-583) Login Redirect broken
Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739659#action_12739659 ]
Harry Metske commented on JSPWIKI-583:
--------------------------------------
Can't reproduce this on the Sandbox (Chrome on Ubuntu 9.04)
* login
* create page Aufwandschätzung
* logout
* view page Aufwandschätzung
* login
* now I'm redirected to Aufwandschätzung
I did notice another issue, I paste the word "Aufwandschätzung" in the search field, hover the mouse over and click the Edit field, you get the Edit page for page Aufwandschtzung instead of Aufwandschätzung.
> Login Redirect broken
> ---------------------
>
> Key: JSPWIKI-583
> URL: https://issues.apache.org/jira/browse/JSPWIKI-583
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Affects Versions: 2.8.2
> Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
> Firefox 3.5.1
> Reporter: Stefan Bohn
>
> The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
> Container managed security with LDAP
> Policies:
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
> };
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
> };
> login
> create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
> logout
> view page 'Aufwandschätzung'
> login
> you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JSPWIKI-583) Login Redirect broken
Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885659#action_12885659 ]
Florian Holeczek commented on JSPWIKI-583:
------------------------------------------
Hi Stefan and Marek,
sounds like an encoding problem. Are your jspwiki.encoding and tomcat connector settings both correctly configured to UTF8?
See jspwiki.properties and http://www.jspwiki.org/wiki/TomcatAndUTF8
Stefan, this issue is nearly a year old - are you still facing the problem?
Regards
Florian
> Login Redirect broken
> ---------------------
>
> Key: JSPWIKI-583
> URL: https://issues.apache.org/jira/browse/JSPWIKI-583
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Affects Versions: 2.8.2
> Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
> Firefox 3.5.1
> Reporter: Stefan Bohn
>
> The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
> Container managed security with LDAP
> Policies:
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
> };
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
> };
> login
> create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
> logout
> view page 'Aufwandschätzung'
> login
> you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JSPWIKI-583) Login Redirect broken
Posted by "Marek Siegfried Son (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885178#action_12885178 ]
Marek Siegfried Son commented on JSPWIKI-583:
---------------------------------------------
My JSPWiki 2.8.3 installation shows up the same behaviour. Creating new pages by pasting the word "Aufwandschätzung" in the search field (quick navigation) produces the same issue as Harry Metske describes. Is there any solution or workaround for this problem available?
> Login Redirect broken
> ---------------------
>
> Key: JSPWIKI-583
> URL: https://issues.apache.org/jira/browse/JSPWIKI-583
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Affects Versions: 2.8.2
> Environment: JSPWiki 2.8.2, Tomcat 6.0.16, Red Hat Linux
> Firefox 3.5.1
> Reporter: Stefan Bohn
>
> The Redirect after Login in on a page with special characters in pagename (eg. german umlauts) gernerates a wrong URL.
> Container managed security with LDAP
> Policies:
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
> };
> grant principal com.ecyrd.jspwiki.auth.authorize.Role "WikiUser" {
> permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
> permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
> permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
> };
> login
> create a page named 'Aufwandschätzung' (Aufwandsch%C3%A4tzung)
> logout
> view page 'Aufwandschätzung'
> login
> you are redirected to a page 'Aufwandschätzung' (Aufwandsch%C3%83Tzung), which does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.