Roundup Tracker - Issues

Issue 2550912

classification
Jinja2 template needs fixing of value for __came_from
Type: behavior Severity: normal
Components: Web interface Versions: devel
process
Status: fixed fixed
:
: : ber, cmeerw, pcaulagi, rouilj
Priority: high : jinja2

Created on 2016-07-02 01:09 by rouilj, last changed 2020-01-29 20:05 by cmeerw.

Messages
msg5701 Author: [hidden] (rouilj) Date: 2016-07-02 01:09
I think I have a fix for issue2550785. It requires changing the
jinja2 navigation template to create two values for __came_from
in the login block.

The first value should include the base url, PATH_INFO and
QUERY_STRING if the QUERY_STRING is defined. If QUERY_STRING is
not defined set __came_from to the base url and PATH_INFO.

Arguably, you may be able to drop the base url from both of those
as long as the resulting url works as a redirect.

I did all the tal based templates, but I didn't want to
research how to do this in jinja since you guys
know some jinja and can probably knock this out easily.

If you have any questions, just ask.
msg6870 Author: [hidden] (cmeerw) Date: 2020-01-29 20:05
fixed now in 3174e98a3e51
History
Date User Action Args
2020-01-29 20:05:48cmeerwsetstatus: new -> fixed
resolution: fixed
messages: + msg6870
nosy: + cmeerw
2016-07-02 01:09:45rouiljcreate