Skip to content

Commit 299e81a

Browse files
committed
safety output
1 parent cc6426f commit 299e81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function personalConfig(Typecho_Widget_Helper_Form $form)
7373
public static function change_description($class)
7474
{
7575

76-
$class->random = self::get_random_string();
76+
$class->random = htmlspecialchars(self::get_random_string());
7777
}
7878

7979
public static function get_random_string(){

0 commit comments

Comments
 (0)