SOURCES: PicasaWebDownloader-url.patch (NEW) - new

qboosh qboosh at pld-linux.org
Mon Nov 5 21:14:30 CET 2007


Author: qboosh                       Date: Mon Nov  5 20:14:30 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   PicasaWebDownloader-url.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/PicasaWebDownloader-url.patch
diff -u /dev/null SOURCES/PicasaWebDownloader-url.patch:1.1
--- /dev/null	Mon Nov  5 21:14:30 2007
+++ SOURCES/PicasaWebDownloader-url.patch	Mon Nov  5 21:14:25 2007
@@ -0,0 +1,15 @@
+--- PicasaWebDownloader-1.1/Program.cs.orig	2007-08-20 14:10:44.000000000 +0200
++++ PicasaWebDownloader-1.1/Program.cs	2007-11-05 21:06:28.238055228 +0100
+@@ -36,10 +36,10 @@
+ 		static bool canonizePicasaUrl( string source, out Uri targetUri )
+ 		{
+ 			Regex pattern = new Regex(
+-				@"^(http://picasaweb\.google\.com/" +
++				@"^(http://picasaweb\.google\.(\w|\.)+/" +
+ 				@"((?<username>\w(\w|\.)+)/(?<album>\w(\w|\.)+))" +
+ 				@"|(data/feed/base/user/(?<username>\w(\w|\.)+)/album(?<qual>id)/(?<album>\d+)))" +
+-                @"(\?.*(?<authkey>authkey\=\w+))?",
++                @"(\?.*(?<authkey>authkey\=(\w|-)+))?",
+                 RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.IgnorePatternWhitespace );
+ 
+ 		    string replacement = 
================================================================


More information about the pld-cvs-commit mailing list