mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 00:54:08 +02:00
CSRF protection of included JavaScript
This commit is contained in:
@@ -43,7 +43,7 @@ function connect_error() {
|
||||
}
|
||||
}
|
||||
page_footer("db");
|
||||
echo "<script type='text/javascript' src='" . h(ME) . "script=connect'></script>\n";
|
||||
echo "<script type='text/javascript' src='" . h(ME . "script=connect&token=$token") . "'></script>\n";
|
||||
}
|
||||
|
||||
if (isset($_GET["status"])) {
|
||||
|
Reference in New Issue
Block a user