From 7083982764bbd610c2b128c629038a18e75e1439 Mon Sep 17 00:00:00 2001 From: ScottIsAFool Date: Fri, 29 Nov 2013 18:23:43 +0000 Subject: [PATCH] Fixed an encoding problem --- PocketWP/PocketHelper.cs | 2 +- PocketWP/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PocketWP/PocketHelper.cs b/PocketWP/PocketHelper.cs index 3c046e6..85b786e 100644 --- a/PocketWP/PocketHelper.cs +++ b/PocketWP/PocketHelper.cs @@ -88,7 +88,7 @@ namespace PocketWP public static bool HasPocketItem(Uri uri) { // /Protocol?encodedLaunchUri=squirrel%3AAddNut%3Fnut%3D - return uri.ToString().Contains(HttpUtility.UrlEncode(PocketUrl)); + return uri.ToString().Contains(Uri.EscapeDataString(PocketUrl)); } /// diff --git a/PocketWP/Properties/AssemblyInfo.cs b/PocketWP/Properties/AssemblyInfo.cs index d917bec..8a56f9a 100644 --- a/PocketWP/Properties/AssemblyInfo.cs +++ b/PocketWP/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ using System.Resources; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.0.1")] +[assembly: AssemblyFileVersion("1.0.0.1")] [assembly: NeutralResourcesLanguageAttribute("en-US")]