Просмотр исходного кода

Use the proper name in the form field

Zachary Kotlarek 13 лет назад
Родитель
Сommit
2de2a432ef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/includes/display.php

+ 1 - 1
web/includes/display.php

@@ -24,7 +24,7 @@ function printSeries($series) {
 
 	# Form
 	echo '<form action="' . $_SERVER['PHP_SELF'] . '?series=' . urlencode($series) . '" method="post" data-ajax="false">';
-	echo '<input type="hidden" name="series" value="' . $series_html . '"/>';
+	echo '<input type="hidden" name="series" value="' . htmlspecialchars($series) . '"/>';
 
 	# Series flags
 	echo '<h2>Series Parameters</h2>';