[f-spot] escape % when converting a file name into an URI
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot] escape % when converting a file name into an URI
- Date: Wed, 12 Aug 2009 11:15:03 +0000 (UTC)
commit a76f6c3a4adf4613ad6a610e2a8d5ffc76f28d85
Author: Christian Krause <chkr plauener de>
Date: Fri Jul 31 23:03:31 2009 +0200
escape % when converting a file name into an URI
src/Utils/UriUtils.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Utils/UriUtils.cs b/src/Utils/UriUtils.cs
index 93580f6..3c14a52 100644
--- a/src/Utils/UriUtils.cs
+++ b/src/Utils/UriUtils.cs
@@ -45,7 +45,7 @@ namespace FSpot.Utils
return new Uri (builder.ToString ());
}
- static char[] CharsToQuote = { ';', '?', ':', '@', '&', '=', '$', ',', '#' };
+ static char[] CharsToQuote = { ';', '?', ':', '@', '&', '=', '$', ',', '#', '%' };
// NOTE: this was copied from mono's System.Uri where it is internal.
public static string EscapeString (string str, bool escapeReserved, bool escapeHex, bool escapeBrackets)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]