junalmeida/Sick-Beard — pull request #76 by Herugrim (2013-07-03 13:04:41+00:00)
Title: Torrent 1080 subtitles

This is my first pull request so please bear with me.

An `&' in the title and/or URL of a show, for example "Ben 10 Original & Alien Force & Ultimate Alien & Omniverse Complete", will create an invalid XML file that will result in an error:

Error:
SEARCHQUEUE-RSS-SEARCH :: Error trying to load TorrentLeech RSS feed: not well-formed (invalid token): line 1, column 10544

Invalid XML:

Ben 10 Original & Alien Force & Ultimate Alien & Omniverse Complete

http://www.torrentleech.org/download/Ben.10.Original.&.Alien.Force.&.Ultimate.Alien.&.Omniverse.Complete.torrent

I've added XML escaping for the Title and URL encoding for the URL:

Ben 10 Original & Alien Force & Ultimate Alien & Omniverse Complete

http://www.torrentleech.org/download/Ben.10.Original.%26.Alien.Force.%26.Ultimate.Alien.%26.Omniverse.Complete.torrent