We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa29170 + 31c17b0 commit 6598be8Copy full SHA for 6598be8
lib/puppet/provider/mysql_grant/mysql.rb
@@ -25,7 +25,7 @@ def self.instances
25
# Once we have the list of grants generate entries for each.
26
grants.each_line do |grant|
27
# Match the munges we do in the type.
28
- munged_grant = grant.delete("'").delete("`")
+ munged_grant = grant.delete("'").delete("`").delete('"')
29
# Matching: GRANT (SELECT, UPDATE) PRIVILEGES ON (*.*) TO ('root')@('127.0.0.1') (WITH GRANT OPTION)
30
if match = munged_grant.match(/^GRANT\s(.+)\sON\s(.+)\sTO\s(.*)@(.*?)(\s.*)?$/)
31
privileges, table, user, host, rest = match.captures
0 commit comments