[JBoss JIRA] (GTNPORTAL-3101) Encoding issue when login with password containing non-ASCII characters
by Marek Posolda (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3101?page=com.atlassian.jira.pl... ]
Marek Posolda updated GTNPORTAL-3101:
-------------------------------------
Description:
Steps to reproduce:
- Login as root, Go to http://localhost:8080/portal/g/:organization:management:executive-board/o... and register user with password: aaa£aaa
- Logout as root and try to login as new user. Login won't be successful
Reason: Form for saving new user handles usecase correctly and it correctly save password aaa£aaa into Picketlink IDM DB. Problem seems to be during login as LoginServlet doesn't decode parameters from URL in UTF-8 . It seems that it's using ISO-8859-1 as password is decoded in LoginServlet with value: aaa£aaa
Fix: We should trigger request.setCharacterEncoding("UTF-8") in LoginServlet to ensure that params will be decoded with UTF-8 and password will be correctly decoded as: aaa£aaa
was:
Steps to reproduce:
- Login as root, Go to http://localhost:8080/portal/g/:organization:management:executive-board/o... and register user with password: aaa£aaa
- Logout as root and try to login as new user. Login won't be successful
Reason: Form for saving new user handles usecase correctly and it correctly save password aaa£aaa into DB. Problem seems to be during login as LoginServlet doesn't decode parameters from URL in UTF-8 . It seems that it's using ISO-8859-1 as password is decoded in LoginServlet with value: aaa£aaa
Fix: We should trigger request.setCharacterEncoding("UTF-8") in LoginServlet to ensure that params will be decoded with UTF-8 and password will be correctly decoded as: aaa£aaa
SourceForge Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A000000DOII3IAP&sfdc....
> Encoding issue when login with password containing non-ASCII characters
> -----------------------------------------------------------------------
>
> Key: GTNPORTAL-3101
> URL: https://issues.jboss.org/browse/GTNPORTAL-3101
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Beta02
> Reporter: Marek Posolda
> Assignee: Marek Posolda
> Fix For: 3.6.0.Final
>
>
> Steps to reproduce:
> - Login as root, Go to http://localhost:8080/portal/g/:organization:management:executive-board/o... and register user with password: aaa£aaa
> - Logout as root and try to login as new user. Login won't be successful
> Reason: Form for saving new user handles usecase correctly and it correctly save password aaa£aaa into Picketlink IDM DB. Problem seems to be during login as LoginServlet doesn't decode parameters from URL in UTF-8 . It seems that it's using ISO-8859-1 as password is decoded in LoginServlet with value: aaa£aaa
> Fix: We should trigger request.setCharacterEncoding("UTF-8") in LoginServlet to ensure that params will be decoded with UTF-8 and password will be correctly decoded as: aaa£aaa
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (GTNPORTAL-3101) Encoding issue when login with password containing non-ASCII characters
by Marek Posolda (JIRA)
Marek Posolda created GTNPORTAL-3101:
----------------------------------------
Summary: Encoding issue when login with password containing non-ASCII characters
Key: GTNPORTAL-3101
URL: https://issues.jboss.org/browse/GTNPORTAL-3101
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.6.0.Beta02
Reporter: Marek Posolda
Assignee: Marek Posolda
Fix For: 3.6.0.Final
Steps to reproduce:
- Login as root, Go to http://localhost:8080/portal/g/:organization:management:executive-board/o... and register user with password: aaa£aaa
- Logout as root and try to login as new user. Login won't be successful
Reason: Form for saving new user handles usecase correctly and it correctly save password aaa£aaa into DB. Problem seems to be during login as LoginServlet doesn't decode parameters from URL in UTF-8 . It seems that it's using ISO-8859-1 as password is decoded in LoginServlet with value: aaa£aaa
Fix: We should trigger request.setCharacterEncoding("UTF-8") in LoginServlet to ensure that params will be decoded with UTF-8 and password will be correctly decoded as: aaa£aaa
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (GTNPORTAL-3098) Sites Redirect page UI broken on Chrome 27
by Nick Scavelli (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3098?page=com.atlassian.jira.pl... ]
Nick Scavelli closed GTNPORTAL-3098.
------------------------------------
Resolution: Rejected
Rejecting, as browser cookies were the culprit. I personally prefer oreo cookies :)
> Sites Redirect page UI broken on Chrome 27
> ------------------------------------------
>
> Key: GTNPORTAL-3098
> URL: https://issues.jboss.org/browse/GTNPORTAL-3098
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Beta02
> Environment: Mac OS 10.8.3
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
> Chrome 27.0.1453.93
> Reporter: Patrice Lamarque
> Attachments: Screen Shot 2013-06-04 at 4.43.11 PM.png
>
>
> Using the tomcat bundle for 3.6 beta2. Start with gatein.sh run
> UI is broken it looks like style and images are missing. See the screenshot.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (GTNPORTAL-3098) Sites Redirect page UI broken on Chrome 27
by Patrice Lamarque (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3098?page=com.atlassian.jira.pl... ]
Patrice Lamarque commented on GTNPORTAL-3098:
---------------------------------------------
Strangely enough I managed to have it back to normal by clearing all (100+ !!) cookies that were living under localhost one by one with the developer console ("clear browsing data" was not working).
Problem solved.
> Sites Redirect page UI broken on Chrome 27
> ------------------------------------------
>
> Key: GTNPORTAL-3098
> URL: https://issues.jboss.org/browse/GTNPORTAL-3098
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Beta02
> Environment: Mac OS 10.8.3
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
> Chrome 27.0.1453.93
> Reporter: Patrice Lamarque
> Attachments: Screen Shot 2013-06-04 at 4.43.11 PM.png
>
>
> Using the tomcat bundle for 3.6 beta2. Start with gatein.sh run
> UI is broken it looks like style and images are missing. See the screenshot.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months