When testing this dns in our function:
ftp://username@something:password@host/path/you/want/it.xml
the result is:
{u'protocol': u'ftp', u'host': u'host', u'user': u'username@something', u'path': u'/path/you/want/it.xml', u'password': u'password', u'port': None}
You see it recognizes:
username@something as a valid username
But using
pass@word (with @ in it) will fail tho:
{u'protocol': u'ftp', u'host': u'word@host', u'user': u'username@something', u'path': u'/path/you/want/it.xml', u'password': u'pass', u'port': None}
password: pass
host: word@host
For now don't accept @ in passwords since it will get parsed wrongly. Perhaps we can fix it in a later version