We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a2e2d2 commit a73afd6Copy full SHA for a73afd6
helper/validator.php
@@ -250,6 +250,6 @@ public function validate_php_version($value)
250
*/
251
protected function check_version($value)
252
{
253
- return (bool) preg_match('/^[<>=]*[\d+][\w.@-]+$/', $value);
+ return (bool) preg_match('/^[<>=]*[\d+][\w.@-]+$/', htmlspecialchars_decode($value, ENT_NOQUOTES));
254
}
255
0 commit comments