[MXS-417] Single character wildcard doesn't work in MaxScale Created: 2015-10-20  Updated: 2015-11-03  Resolved: 2015-11-03

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.2.1
Fix Version/s: 1.3.0

Type: Bug Priority: Critical
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

Single character wildcard in the IP address of a grant, i.e. _, does not work. MaxScale confuses it as a hostname and fails to transform it into a network address.

Steps to reproduce:

  1. Create a user with a single character wildcard in the host

    CREATE USER 'test'@'192.168.1.11_ IDENTIFIED BY 'test';
    GRANT SELECT ON *.* TO 'test'@'192.168.1.11_';

  1. Start MaxScale and inspect the error log

2015-10-20 09:53:14   Error: Failed to obtain address for host 192.168.1.11_, No address associated with hostname


Generated at Thu Feb 08 03:59:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.