[New-bugs-announce] [issue7965] Problem with urlparse in Windows XP after a drag and drop

Peter Landgren report at bugs.python.org
Fri Feb 19 15:20:12 CET 2010


New submission from Peter Landgren <peter.talken at telia.com>:

When I drag and drop a "file/url" from the file explorer in Windows to my application, I don't get a usable fil name:
In the application I get from Windows
file:///C:/Documents%20and%20Settings/Peter/Mina%20dokument/Mina%20bilder/BlueHole/IMG_1665.JPG

After call to urlparser.urlparser() with this string as parameter I get back:
/C:/Documents%20and%20Settings/Peter/Mina%20dokument/Mina%20bilder/BlueHole/IMG_1665.JPG
Which is not a valid path in Windows
However, It's easy to fix in my application.

So, is this behavior known and are there any plans to change this?

----------
components: Library (Lib)
messages: 99571
nosy: PeterL
severity: normal
status: open
title: Problem with urlparse in Windows XP after a drag and drop
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7965>
_______________________________________


More information about the New-bugs-announce mailing list