Skip to content

Commit 9e89752

Browse files
atroldregad
authored andcommitted
Fix XSS on list page
1 parent c6371fa commit 9e89752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/pages/list.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<div class="widget-box widget-color-blue2">
2929
<div class="widget-header widget-header-small">
3030
<h4 class="widget-title lighter">
31-
<?php echo plugin_lang_get( 'changesets' ), ': ', $t_repo->name ?>
31+
<?php echo plugin_lang_get( 'changesets' ), ': ', string_display_line( $t_repo->name ) ?>
3232
</h4>
3333
</div>
3434

@@ -48,7 +48,7 @@
4848
</a>
4949
<?php
5050
if( $t_url = $t_vcs->url_repo( $t_repo ) ) { ?>
51-
<a class="btn btn-xs btn-primary btn-white btn-round" href="<?php echo $t_url ?>">
51+
<a class="btn btn-xs btn-primary btn-white btn-round" href="<?php echo string_display_line( $t_url ) ?>">
5252
<?php echo plugin_lang_get( 'browse' ) ?>
5353
</a>
5454
<?php } ?>

0 commit comments

Comments
 (0)