Skip to content

Commit e5dd6c7

Browse files
authored
replaced "Url::to()" with "Url::current()", fix issue with url encoding and reflected XSS vulnerabilities
1 parent 6778a55 commit e5dd6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/layouts/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class="btn btn-default btn-flat" data-method="post"><?php echo Yii::t('backend-m
189189
</li>
190190

191191
<li class="expand-menu">
192-
<a href="<?= Url::to() ?>" target="_top">
192+
<a href="<?= Url::current() ?>" target="_top">
193193
<i class="fa fa-expand"></i>
194194
</a>
195195
</li>

0 commit comments

Comments
 (0)