Skip to content

Commit fe257a2

Browse files
committed
Fix potential vulnerability
1 parent 27ae332 commit fe257a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/film.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<!-- Film - Wiki -->
3434
{% if film.wiki %}
35-
<a href="{{ film.wiki }}" target="_blank" style="color: {{ series.color3 }};">wiki</a>
35+
<a href="{{ film.wiki }}" style="color: {{ series.color3 }};" target="_blank" rel="noopener noreferrer">wiki</a>
3636
{% endif %}
3737

3838
</div>

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<span style="color: {{ series.color3 }};">
1111
{{ series.series_brief.upper() }}
1212
{% if series.series_poster_url %}
13-
<a href="{{ series.series_poster_url }}" target="_blank" style="color: {{ series.color3 }};">POSTER</a>
13+
<a href="{{ series.series_poster_url }}" style="color: {{ series.color3 }};" target="_blank" target="_blank">POSTER</a>
1414
{% endif %}
1515
</span>
1616

0 commit comments

Comments
 (0)