mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update of doctests
This commit is contained in:
parent
8e48af61b7
commit
b4a6d25795
5 changed files with 22 additions and 5 deletions
|
|
@ -74,6 +74,11 @@ def safecharencode(value):
|
|||
def safechardecode(value, binary=False):
|
||||
"""
|
||||
Reverse function to safecharencode
|
||||
|
||||
>>> safechardecode(u'test123') == u'test123'
|
||||
True
|
||||
>>> safechardecode(safecharencode(u'test\x01\x02\xaf')) == u'test\x01\x02\xaf'
|
||||
True
|
||||
"""
|
||||
|
||||
retVal = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue