mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
minor update (_ is part of normal identificator naming)
This commit is contained in:
@@ -1218,7 +1218,7 @@ class Enumeration:
|
||||
Returns an safe representation of identificator name for MySQL
|
||||
"""
|
||||
retVal = value
|
||||
if isinstance(value, basestring) and not re.match(r"\A[A-Za-z0-9]+\Z", value):
|
||||
if isinstance(value, basestring) and not re.match(r"\A[A-Za-z0-9_]+\Z", value):
|
||||
retVal = "`%s`" % value
|
||||
return retVal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user