1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-25 06:39:48 +03:00
Files
Dennis Vorobyov 366d165982 Fix #19841 - Strip port from host when linking to user privileges in processes list
The Host column of SHOW PROCESSLIST contains the client connection address
in "hostname:port" format (e.g., localhost:64776). Passing this directly as
the hostname URL parameter to /server/privileges causes the user lookup to
fail, since mysql.user.Host stores bare hostnames without port numbers.

Strip the trailing port suffix before building the privileges link URL.
The Host column display is unchanged.

Signed-off-by: Dennis Vorobyov <roadhero@gmail.com>
2026-05-25 15:52:30 +01:00
..