Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
11.3(EOL)
-
None
Description
Server does not allow to set invalid URL with SET GLOBAL statement, but this validation is not happening when we pass invalid URL in startup option.
11.3.0-dbg>set global redirect_url="mariadbaaa://test";
|
ERROR 1231 (42000): Variable 'redirect_url' can't be set to the value of 'mariadbaaa://test'
|
11.3.0-dbg>
|
|
11.3.0-dbg>set global redirect_url="mariadb://test:6666666";
|
ERROR 1231 (42000): Variable 'redirect_url' can't be set to the value of 'mariadb://test:6666666'
|
11.3.0-dbg>
|
server startup command --redirect_url="mariadbaaa://test" or --redirect_url="mariadb://test:6666666"
11.3.0-dbg>select @@redirect_url;
|
+-------------------+
|
| @@redirect_url |
|
+-------------------+
|
| mariadbaaa://test |
|
+-------------------+
|
1 row in set (0.000 sec)
|
|
11.3.0-dbg>
|
|
11.3.0-dbg>select @@redirect_url;
|
+------------------------+
|
| @@redirect_url |
|
+------------------------+
|
| mariadb://test:6666666 |
|
+------------------------+
|
1 row in set (0.000 sec)
|
|
11.3.0-dbg>
|
Attachments
Issue Links
- blocks
-
MDEV-15935 Connection Redirection Mechanism in MariaDB Client/Server Protocol
- Closed
- is caused by
-
MDEV-15935 Connection Redirection Mechanism in MariaDB Client/Server Protocol
- Closed