diff --git a/src/ImageProcessor.Web/Properties/AssemblyInfo.cs b/src/ImageProcessor.Web/Properties/AssemblyInfo.cs index d1564391c..b7a2f9eed 100644 --- a/src/ImageProcessor.Web/Properties/AssemblyInfo.cs +++ b/src/ImageProcessor.Web/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyVersion("1.1.0.1")] +[assembly: AssemblyFileVersion("1.1.0.1")] diff --git a/src/ImageProcessor/Processors/Rotate.cs b/src/ImageProcessor/Processors/Rotate.cs index 560d110f6..adb992323 100644 --- a/src/ImageProcessor/Processors/Rotate.cs +++ b/src/ImageProcessor/Processors/Rotate.cs @@ -28,7 +28,7 @@ namespace ImageProcessor.Processors /// /// The regular expression to search strings for the angle attribute. /// - private static readonly Regex AngleRegex = new Regex(@"rotate=angle-\[([1-2][0-9][0-9]|3[0-5][0-9]|\d{1}(?!\d)|\d{1,2}(?!\d)|360)\]", RegexOptions.Compiled); + private static readonly Regex AngleRegex = new Regex(@"rotate=angle-([1-2][0-9][0-9]|3[0-5][0-9]|\d{1}(?!\d)|\d{1,2}(?!\d)|360)", RegexOptions.Compiled); /// /// The regular expression to search strings for the color attribute. @@ -301,7 +301,7 @@ namespace ImageProcessor.Processors { // Split on angle- int angle; - int.TryParse(match.Value.Replace("[", string.Empty).Replace("]", string.Empty).Split('-')[1], out angle); + int.TryParse(match.Value.Split('-')[1], out angle); return angle; } diff --git a/src/ImageProcessor/Properties/AssemblyInfo.cs b/src/ImageProcessor/Properties/AssemblyInfo.cs index ecc917a5c..17908b784 100644 --- a/src/ImageProcessor/Properties/AssemblyInfo.cs +++ b/src/ImageProcessor/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ using System.Security; // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyVersion("1.1.0.1")] +[assembly: AssemblyFileVersion("1.1.0.1")] diff --git a/src/Nuget/ImageProcessor.1.1.0.1.nupkg b/src/Nuget/ImageProcessor.1.1.0.1.nupkg new file mode 100644 index 000000000..841174bbb Binary files /dev/null and b/src/Nuget/ImageProcessor.1.1.0.1.nupkg differ diff --git a/src/Nuget/ImageProcessor.Web.1.1.0.1.nupkg b/src/Nuget/ImageProcessor.Web.1.1.0.1.nupkg new file mode 100644 index 000000000..2f1e09f93 Binary files /dev/null and b/src/Nuget/ImageProcessor.Web.1.1.0.1.nupkg differ