diff --git a/NzbDrone.Web/Controllers/AddSeriesController.cs b/NzbDrone.Web/Controllers/AddSeriesController.cs index cee3db2c5..08845e628 100644 --- a/NzbDrone.Web/Controllers/AddSeriesController.cs +++ b/NzbDrone.Web/Controllers/AddSeriesController.cs @@ -84,7 +84,7 @@ namespace NzbDrone.Web.Controllers ViewData["guid"] = Guid.NewGuid(); ViewData["path"] = path; - ViewData["javaPath"] = path.Replace(Path.DirectorySeparatorChar, '|').Replace(Path.VolumeSeparatorChar, '^'); + ViewData["javaPath"] = path.Replace(Path.DirectorySeparatorChar, '|').Replace(Path.VolumeSeparatorChar, '^').Replace('\'', '`'); var defaultQuality = _configProvider.DefaultQualityProfile; var qualityProfiles = _qualityProvider.GetAllProfiles(); @@ -105,7 +105,7 @@ namespace NzbDrone.Web.Controllers //Add the new series to the Database _seriesProvider.AddSeries( - path.Replace('|', Path.DirectorySeparatorChar).Replace('^', Path.VolumeSeparatorChar), seriesId, + path.Replace('|', Path.DirectorySeparatorChar).Replace('^', Path.VolumeSeparatorChar).Replace('`', '\''), seriesId, qualityProfileId); ScanNewSeries(); return new JsonResult { Data = "ok" }; diff --git a/NzbDrone.Web/NzbDrone.Web.Publish.xml b/NzbDrone.Web/NzbDrone.Web.Publish.xml index 98bc90f4a..6ee397e25 100644 --- a/NzbDrone.Web/NzbDrone.Web.Publish.xml +++ b/NzbDrone.Web/NzbDrone.Web.Publish.xml @@ -64,7 +64,7 @@ - + @@ -85,7 +85,7 @@ - + @@ -107,9 +107,11 @@ + + @@ -120,10 +122,8 @@ - - @@ -136,7 +136,7 @@ - + @@ -163,31 +163,27 @@ - + - - - - + - - + @@ -197,67 +193,67 @@ + + + - + + - + - + - - - + - + - - @@ -270,21 +266,19 @@ + - - - + - @@ -301,11 +295,13 @@ + - + + @@ -313,41 +309,39 @@ + - - + - - + - + - - - + + - + + + - - @@ -357,30 +351,33 @@ + + + + - + - + - @@ -388,92 +385,95 @@ - - + + - + + - - + + - + - + - - - - - + + + + - - + + - - + + + + + + + - + - - @@ -481,88 +481,86 @@ - + - + - + + - - + + + - + - - - + - + - - + - + + - + - + - + - - + - + - + - + - - + - + @@ -574,13 +572,13 @@ - + - + - + @@ -588,116 +586,120 @@ - + - + - + - + - + - - + + + + - - - + + + - + - - + - + - + - + - - - + + + - - + + + - - + + + + + - + + + - + - + - + - - - + + - + - - - + + - @@ -711,26 +713,27 @@ - + + - + - + + - @@ -741,27 +744,30 @@ - + + - + - + + - - + + + @@ -774,32 +780,32 @@ - + - - - - + + - + + + - + @@ -808,54 +814,49 @@ - - - + - + - + - + - - - + - + - + - - + - + + - - + - + @@ -868,106 +869,103 @@ + - - - + - + + + - - + + - - + - + - - - + - + - + - - + + - + + - - - - - + + + - + - - - + - - + + + + - + - + @@ -976,7 +974,6 @@ - @@ -986,53 +983,55 @@ - + - + - - - + + - + - - + + + - + - + - - + - + + - - + + + - + + - + - + @@ -1046,7 +1045,7 @@ - + @@ -1056,16 +1055,17 @@ - + - + + - + @@ -1074,9 +1074,9 @@ - + - + @@ -1087,22 +1087,22 @@ - + - + - + - - - + + + - + @@ -1113,6 +1113,7 @@ + @@ -1120,18 +1121,18 @@ - + - - - - + + + + - - - - - + + + + + diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index a5b6f7678..07fadb75b 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -633,7 +633,7 @@ - + Designer