[url] Can't handle IDNs or special characters in URLs

Bug #502380 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

Query: http://räksmörgås.josefßon.org/
/home/stefanor/projects/ibid/test/ibid/plugins/url.py:156: SADeprecationWarning: Use session.add()
  event.session.save_or_update(u)
DEBUG:plugins.url:Error determining title for http://räksmörgås.josefßon.org/: 'ascii' codec can't encode character u'\xe4' in position 50: ordinal not in range(128)
DEBUG:plugins.url:Posted url 'http://räksmörgås.josefßon.org/' to delicious, posted in testchan on test_source by None/1 (stefanor)
Response: Excuse me?
Query: http://en.wikipedia.org/wiki/Ü
DEBUG:plugins.url:Error determining title for http://en.wikipedia.org/wiki/Ü: 'ascii' codec can't encode character u'\xdc' in position 10: ordinal not in range(128)
DEBUG:plugins.url:Posted url 'http://en.wikipedia.org/wiki/Ü' to delicious, posted in testchan on test_source by None/1 (stefanor)
Response: *blink*

Related branches

Changed in ibid:
status: In Progress → Fix Released
MrG (tet)
Changed in ibid:
status: Fix Released → New
Changed in ibid:
status: New → Triaged
Revision history for this message
Stefano Rivera (stefanor) wrote :

MrG. I'm closing this bug.

If you can give an example of it not working, reopen it.

Changed in ibid:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.