You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ibennetch opened this issue
Aug 24, 2017
· 2 comments
Assignees
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incompleteuiIssues relating to the user interface
I have a database and table with an underscore in the name, such as 'a_z'.
When editing user privileges or creating a new user, I can go to the "Database" tab to edit the database-level permissions for that user. After selecting the database from the list of available database, I'm taken to the screen to edit permissions.
In the header across the top: Edit privileges: User account 'a'@'%' - Database a\_z
The hint at the very bottom: [ Database a\_z: Structure ]
By the way, that link is broken (clicking it gives an error "No databases selected" which I'm guessing is related.
I don't want to see the backslash. It's not really part of my database name, so it shouldn't be shown like this.
If I go further to the table-level privileges, I do not see the backslash escape character.
This is tested with current master
The text was updated successfully, but these errors were encountered:
Since '_' is a wildcard for privileges, '_' in database names are escaped to make the distinction between the two. However, I agree that this is inconsistent with the headers of table-level privileges.
cc @iifawzi
I can confirm that using an escaped DB name and then trying to grant a table will forward you to a page that has no escaping and the link of the db name (not escaped) will lead you to a non working page (because of missing escaping chars)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incompleteuiIssues relating to the user interface
I have a database and table with an underscore in the name, such as 'a_z'.
When editing user privileges or creating a new user, I can go to the "Database" tab to edit the database-level permissions for that user. After selecting the database from the list of available database, I'm taken to the screen to edit permissions.
In the header across the top:
Edit privileges: User account 'a'@'%' - Database a\_z
The hint at the very bottom:
[ Database a\_z: Structure ]
By the way, that link is broken (clicking it gives an error "No databases selected" which I'm guessing is related.
I don't want to see the backslash. It's not really part of my database name, so it shouldn't be shown like this.
If I go further to the table-level privileges, I do not see the backslash escape character.
This is tested with current master
The text was updated successfully, but these errors were encountered: