You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Properly escape error input in the message
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
@@ -50,7 +50,7 @@ abstract class RegexValidationTransformationsPlugin extends IOTransformationsPlu
|
||||
$this->success = false;
|
||||
$this->error = sprintf(
|
||||
__('Validation failed for the input string %s.'),
|
||||
$buffer
|
||||
htmlspecialchars($buffer)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user