mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Couple of DREI updates
This commit is contained in:
parent
74148e121a
commit
585ebca401
8 changed files with 37 additions and 35 deletions
|
|
@ -4108,8 +4108,8 @@ def asciifyUrl(url, forceQuote=False):
|
|||
|
||||
# Reference: http://blog.elsdoerfer.name/2008/12/12/opening-iris-in-python/
|
||||
|
||||
>>> asciifyUrl(u'http://www.\\u0161u\\u0107uraj.com') == u'http://www.xn--uuraj-gxa24d.com'
|
||||
True
|
||||
>>> asciifyUrl(u'http://www.\\u0161u\\u0107uraj.com')
|
||||
'http://www.xn--uuraj-gxa24d.com'
|
||||
"""
|
||||
|
||||
parts = _urllib.parse.urlsplit(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue