Bug 826651 - Cannot log in to site with mocked streamline
Summary: Cannot log in to site with mocked streamline
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
urgent
low
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-30 17:14 UTC by Fotios Lindiakos
Modified: 2015-05-15 01:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-08 17:58:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Fotios Lindiakos 2012-05-30 17:14:04 UTC
Description of problem:
When attempting to log into the site, the user is automatically logged out due to a bad cookie.


Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Attempt to login
2. Cry
  
Actual results:
Logged out immediately

Expected results:
Should be able to log in


Additional info:
I've tracked the issue down to escaping the login in lib/streamline/mock.rb, but don't have time to fix it right now.
This paste shows the problem: http://pastebin.test.redhat.com/91029

Comment 1 Fabiano Franz 2012-05-30 19:54:56 UTC
Only on development, lowering severity.

Comment 2 Clayton Coleman 2012-06-04 05:12:38 UTC
Using Base64 (strict, so as not to have newlines) to encode instead of CGI (cookie decoding fail).

Comment 3 Xiaoli Tian 2012-06-05 10:07:47 UTC
Verified it on devenv_1815, try to login with user xtian+t100 in a non-integrated env. login successfully.


Note You need to log in before you can comment on or make changes to this bug.