I get a plain text form when I try to log in with an unverified email
Bug #1169635 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Fix Released
|
Critical
|
James Tait |
Bug Description
Steps to reproduce:
Make sure you are not logged in to staging SSO.
Go to staging u1.
Register a new user.
Do not verify the email.
Go back to staging u1.
I get a form in plain text, as the screenshot shows.
Related branches
lp:~jamestait/canonical-identity-provider/lp1169635
- Ricardo Kirkner (community): Approve
-
Diff: 61 lines (+23/-6)2 files modifiedidentityprovider/tests/test_views_server.py (+16/-4)
identityprovider/views/server.py (+7/-2)
Changed in canonical-identity-provider: | |
status: | Confirmed → Fix Committed |
Changed in canonical-identity-provider: | |
assignee: | nobody → marek duda (marek-duda1984) |
status: | Fix Committed → Fix Released |
Changed in canonical-identity-provider: | |
status: | Fix Released → Fix Committed |
assignee: | marek duda (marek-duda1984) → nobody |
assignee: | nobody → James Tait (jamestait) |
Changed in canonical-identity-provider: | |
status: | Fix Committed → Confirmed |
summary: |
- I get a plain text form when I try to log in with an unverified email + SUPER CUNTS... I get a plain text form when I try to log in with an + unverified email |
Changed in canonical-identity-provider: | |
status: | Confirmed → Fix Committed |
summary: |
- SUPER CUNTS... I get a plain text form when I try to log in with an - unverified email + I get a plain text form when I try to log in with an unverified email |
Changed in canonical-identity-provider: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This happens when the OpenID response is short enough to be encoded as a URL redirect before signing, but too long to be encoded as a URL redirect after signing. It happens in the work-around to an issue in the openid library itself, whereby a bare HTML form is returned rather than a full HTML document. The openid trunk has fixed the issue (see https:/ /github. com/openid/ python- openid/ pull/31/ files), but according to PyPi there hasn't been a release of the library in almost 3 years.