From 1522d6149293b5ec65bf3ec08a8ed04cacd20d3c Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Fri, 28 Feb 2014 12:04:08 +1030 Subject: [PATCH] add url quote to dirName. fixes #270 --- autoProcess/autoProcessMovie.py | 2 +- changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/autoProcess/autoProcessMovie.py b/autoProcess/autoProcessMovie.py index 08f1385d..2adbc78e 100644 --- a/autoProcess/autoProcessMovie.py +++ b/autoProcess/autoProcessMovie.py @@ -280,7 +280,7 @@ def process(dirName, nzbName=None, status=0, clientAgent = "manual", download_id if remoteCPS == 1: command = command + "/?downloader=" + clientAgent + "&download_id=" + download_id else: - command = command + "/?media_folder=" + dirName + "&downloader=" + clientAgent + "&download_id=" + download_id + command = command + "/?media_folder=" + urllib.quote(dirName) + "&downloader=" + clientAgent + "&download_id=" + download_id url = baseURL + command diff --git a/changelog.txt b/changelog.txt index b182c996..3ca43327 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Change default "wait_for" to 5 mins. CouchPotato can take more than 2 minutes to Added SickBeard "wait_for" to bw customizable to prevent unwanted timeouts. Fixed ascii conversion of directory name. Added list of common sample ids and a way to set deletion of All media files less than the sample file size limit. +Added urlquote to dirName for CouchPotato (allows special characters in directory name) Impacts NZBs Fix Error with manual run of nzbToMedia