nosmokingbandit / Watcher3

Other
279 stars 59 forks source link

fix escaping single quotation marks for guid on status page #275

Closed Michsior14 closed 6 years ago

Michsior14 commented 6 years ago

This resolves the problems with the download of movie release with single quotation marks in the title i.e. Ocean's 8.

nosmokingbandit commented 6 years ago

I'm not having any problems with that movie or any releases and my javascript console is clean. What problems did you observe?

Michsior14 commented 6 years ago

I am using Jackett for indexing and for the Ocean's 8 the download button in the template looks like this: `

` The click on the button rises an error because of quotation in the value. If the problem doesn't exist in other indexers I can have the look in TorzNab implementation :)

nosmokingbandit commented 6 years ago

Jackett shouldn't be putting un-encoded single quotes in the url to begin with. I'll address this in the backend where the jackett feed is parsed so the database has a proper url stored.

Michsior14 commented 6 years ago

Cool, thanks 🙂