SECURITY: backport fix for #70 for 4.5. reported by Barrucadu
This commit is contained in:
parent
f2809d4793
commit
1853efa883
@ -35,7 +35,7 @@
|
|||||||
{% if config.show_filename and post.filename %}
|
{% if config.show_filename and post.filename %}
|
||||||
,
|
,
|
||||||
{% if post.filename|length > config.max_filename_display %}
|
{% if post.filename|length > config.max_filename_display %}
|
||||||
<span class="postfilename" title="{{ post.filename|e }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
|
<span class="postfilename" title="{{ post.filename|e|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|e|bidi_cleanup }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span>
|
<span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
{% if config.show_filename and post.filename %}
|
{% if config.show_filename and post.filename %}
|
||||||
,
|
,
|
||||||
{% if post.filename|length > config.max_filename_display %}
|
{% if post.filename|length > config.max_filename_display %}
|
||||||
<span class="postfilename" title="{{ post.filename|e }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
|
<span class="postfilename" title="{{ post.filename|e|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|e|bidi_cleanup }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span>
|
<span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user