Interactive tree url wrong after login
Bug #920405 reported by
Muadh Hamidaddin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webtrees |
Fix Released
|
Medium
|
fisharebest |
Bug Description
webtrees-svn at http://
While as a visitor in interactive tree page at:
http://
clicking Login, logging in page displays, then after logging in, a different url is given to get back to the interactive tree page.
http://
that displays blank page in chrome and page not found in IE.
To post a comment you must log in.
This affects all URLS that contain "&".
We use the get_query_url() function, which is designed to produce an escaped URI for use in HTML.
Since we use this as a redirect, we need an absolute and unescaped URI.
Perhaps something like
rawurlencode( WT_SERVER_ NAME.WT_ SCRIPT_ PATH.WT_ SCRIPT_ NAME.$_ SERVER[ 'QUERY_ STRING' ]);
We generate these links in (at least) two places. login_link() and WT_Controller_Base.