This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: breaks ActiveDirectory user
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 2.7
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Nataly.Glazyrina, howardhaimovitch, orsenthil
Priority: normal Keywords:

Created on 2013-04-24 15:48 by Nataly.Glazyrina, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg187711 - (view) Author: Nataly Glazyrina (Nataly.Glazyrina) Date: 2013-04-24 15:48
When I try to open file from ftp by path like 

'fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|")'

changes 'domain\user' to 'domain%5Cuser' and brokes username.
As a result - error 530 on login to ftp.
msg187712 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2013-04-24 16:43
Can you give the full snippet that you are trying. I assume you are using urllib2? Also If you give the same URL to your other clients like browser, does the resolution happen properly?
msg241224 - (view) Author: Howard Haimovitch (howardhaimovitch) * Date: 2015-04-16 15:39
tested with David:
two tests were made one using IE and the other using Firefox.
Both were treated properly by the URL.lib library.
Browsers do not preserve the backslash character. IE turns it into a forward slash and Firefox turns it into %5c. So urlliv is behaving correctly.
Date User Action Args
2022-04-11 14:57:44adminsetgithub: 62031
2015-04-16 15:39:34r.david.murraysetstatus: open -> closed
type: behavior
resolution: not a bug
stage: resolved
2015-04-16 15:39:03howardhaimovitchsetnosy: + howardhaimovitch
messages: + msg241224
2013-04-24 16:43:15orsenthilsetnosy: + orsenthil
messages: + msg187712
2013-04-24 15:48:44Nataly.Glazyrinasetcomponents: + Library (Lib)
versions: + Python 2.7
2013-04-24 15:48:12Nataly.Glazyrinacreate