mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
minor update (_ is part of normal identificator naming)
This commit is contained in:
parent
1a98095a93
commit
5a1f733a43
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user