1
0
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:
Michal Čihař
2016-07-13 10:45:18 +02:00
parent 9f11a0e811
commit cc6853538c

View File

@@ -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)
);
}