[banshee] [SafeUri] Increase MAX_SCHEME_LENGTH.



commit 87a6c1fca5fe15fa116e23be4aaa1d9a378c24d6
Author: Ruben Vermeersch <ruben savanne be>
Date:   Tue Jul 13 12:34:39 2010 +0200

    [SafeUri] Increase MAX_SCHEME_LENGTH.
    
    GIO tends to supply URIs such as gphoto2://[usb:002,014]/. The test
    checking for the existence of a scheme delimiter would fail on these.

 src/Core/Banshee.Core/Banshee.Base/SafeUri.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs b/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
index 622fa08..b1a23ef 100644
--- a/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
+++ b/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
@@ -39,7 +39,7 @@ namespace Banshee.Base
             No
         }
 
-        private static int MAX_SCHEME_LENGTH = 6;
+        private static int MAX_SCHEME_LENGTH = 8;
 
         private string uri;
         private string local_path;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]