mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Escape : also in remove_from_param
This commit is contained in:
@@ -725,7 +725,7 @@ function format_time($start) {
|
||||
* @return string
|
||||
*/
|
||||
function relative_uri() {
|
||||
return preg_replace('~^[^?]*/([^?]*)~', '\1', $_SERVER["REQUEST_URI"]);
|
||||
return str_replace(":", "%3a", preg_replace('~^[^?]*/([^?]*)~', '\1', $_SERVER["REQUEST_URI"]));
|
||||
}
|
||||
|
||||
/** Remove parameter from query string
|
||||
|
Reference in New Issue
Block a user