##// END OF EJS Templates
auth: use consistent way of extracting came_from, and also sanitise it to remove...
auth: use consistent way of extracting came_from, and also sanitise it to remove auth_token. This prevents a loop of redirection in case we get redirected to login with this parameter.

File last commit:

r1728:49fb0cec default
r2074:46bdf527 default
Show More
test.mako
20 lines | 425 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
Test "Subject" ${_('hello "world"')|n}
</%def>
<%def name="headers()" filter="n,trim">
X=Y
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Email Plaintext Body
</%def>
## BODY GOES BELOW
<b>Email Body</b>
${h.short_id('0' * 40)}
${_('Translation')}