URI and HTML escape template variables

This commit is contained in:
Oliver Gorwits
2013-03-02 18:18:46 +00:00
parent 043eef9d4d
commit 8e9466b64f
19 changed files with 135 additions and 133 deletions

View File

@@ -37,7 +37,7 @@
<button type="submit" class="btn btn-info">Log In</button>
</div>
[% IF vars.requested_path %]
<input type="hidden" name="path" value="[% vars.requested_path %]"/>
<input type="hidden" name="path" value="[% vars.requested_path | html_entity %]"/>
[% END %]
</form>
[% ELSE %]