XML entity references are displayed instead of some characters

Bug #209719 reported by Tom Adams
Affects Status Importance Assigned to Milestone
Fix Released
transmission (Ubuntu)
Fix Released

Bug Description

Binary package hint: transmission

In the Files tab of the Details window, file names with special characters such as & and ' get them replaced with XML entity references.

So I have lines such as:
13 - Jammin'.mp3 (6.4MiB)
19 - & The Wailers - I Know A Place.mp3 (7.3MiB)

I though this was the torrent at first, but when I checked the directory, the files are named with & instead of & and ' instead of '.

This is in Hardy. transmission-common and transmission-gtk at 1.06-0ubuntu3.

Revision history for this message
Charles Kerr (charlesk) wrote :

My first guess is that the .torrent file was created incorrectly. Could you look in the .torrent file to see if it has the string literal "'" in the filename? Alternatively, could you attach the .torrent file so that I can take a look?

The BitTorrent spec doesn't address XML elements at all. It says that the `path' entry in the `files' dictionary "represent(s)" the path and filename, but doesn't discuss what liberties we can take with them.

Revision history for this message
Tom Adams (holizz) wrote :

Where it has the entity references in the UI, it has the actual characters in the file, so I'm thinking it's Transmission's fault somehow.

I've attached the file in question.

Revision history for this message
Charles Kerr (charlesk) wrote :

You're correct; these are somehow being added by Transmission.

Changed in transmission:
status: New → Confirmed
Revision history for this message
Charles Kerr (charlesk) wrote :

Since Heron is likely going to ship with 1.06, here's a low-risk patch for that version.

This has been fixed upstream in the 1.1x branch and in trunk.

Changed in transmission:
status: Unknown → Fix Released
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

This bug was fixed in the package transmission - 1.32-0ubuntu1

transmission (1.32-0ubuntu1) intrepid; urgency=low

  * New upstream release. (LP: #256277)
  * debian/control:
   - Add Build-Depends on libnotify-dev.
  * debian/rules, debian/transmission-cli.install, debian/transmission-cli.manpages
   - Remove references to now defunct transmission-proxy.

 -- Andrew Starr-Bochicchio <email address hidden> Sat, 16 Aug 2008 14:02:56 -0400

Changed in transmission:
status: Confirmed → 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.