Ticket #4335 (closed Bug: fixed)
Cannot log in to Plone from Webmail
| Reported by: | mellvik | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1 |
| Component: | Templates/CSS | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
1) The registration process sends the initial password to the user with a link to the login window - such as "For direct login go to http://www.mysite.com/m_login_form?username=helge.skrivervik@gmail.com"
2) the user hits the link, enters the password and clicks the login button or hits enter 3) ... and suddenly we're back in the webmail app (gmail in this case) - which is all but surprised by the status_message in the URL (You+are+now+logged+in etc)
It seems like came_from in logged_in needs some more massaging.
Change History
comment:2 Changed 7 years ago by alecm
I've got a fix for this locally that adds a new method to portal_url which checks to see if the referring (came_from) URL is actually a url in the portal, and only uses it if it is. Will commit shortly.

Sounds like an unclever use of HTTP_REFERER