Skip to content

Commit c326ae4

Browse files
Update index.blade.php
Sanitize Input::get parameter "tags"
1 parent edbd9d8 commit c326ae4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/forum/threads/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{-- Display select tags --}}
1212
@if (Input::get('tags', null))
1313
<div class="tags">
14-
{{ Input::get('tags') }}
14+
{{{ Input::get('tags') }}}
1515
</div>
1616
@endif
1717
<a class="button" href="{{ action('ForumThreadsController@getCreateThread') }}">Create Thread</a>
@@ -34,7 +34,7 @@
3434
@if (! $threads->count())
3535
<div class="empty-state">
3636
@if (Input::get('tags'))
37-
<h3>No threads found that are tagged with {{ Input::get('tags') }}</h3>
37+
<h3>No threads found that are tagged with {{{ Input::get('tags') }}}</h3>
3838
@else
3939
<h3>No threads found.</h3>
4040
@endif

0 commit comments

Comments
 (0)