Bugs item #2971600, was opened at 2010-03-16 19:21
Message generated for change (Comment added) made by mike_lifeguard
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=297160…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: sectionencode incorrectly encoding
Initial Comment:
>> wikipedia.sectionencode(':/',
'utf-8')
'.3A/'
Which is incorrect as it is ":.2F"
The correct code for sectionencode() should be:
return urllib.quote(text.replace(" ","_").encode(encoding),
safe=':').replace("%",".")
Also, it would be nice if encoding defaulted here to 'utf-8'
----------------------------------------------------------------------
Comment By: Mike.lifeguard (mike_lifeguard)
Date: 2010-05-31 01:01
Message:
Could you check if the bug is present in the rewrite branch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=297160…