r7400 - dumbhippo/trunk/server/src/com/dumbhippo/server/dm



Author: walters
Date: 2008-03-28 10:24:16 -0500 (Fri, 28 Mar 2008)
New Revision: 7400

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/dm/PicasaAlbumThumbnailDMO.java
Log:
Allow . in Picasa usernames.


Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/dm/PicasaAlbumThumbnailDMO.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/dm/PicasaAlbumThumbnailDMO.java	2008-03-26 21:36:18 UTC (rev 7399)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/dm/PicasaAlbumThumbnailDMO.java	2008-03-28 15:24:16 UTC (rev 7400)
@@ -36,7 +36,7 @@
 	// Although album names can have arbitrary Unicode in them, everything but ascii letters
 	// and digits is stripped out in creating the URL (with upper casing of the beginning
 	// of ascii letter sequences ... "test bourrée" => "TestBourrE")
-	private static Pattern PICASA_URL_PATTERN = Pattern.compile("http://picasaweb.google.com/([A-Za-z0-9]+)/([A-Za-z0-9]+)");
+	private static Pattern PICASA_URL_PATTERN = Pattern.compile("http://picasaweb.google.com/([A-Za-z0-9.]+)/([A-Za-z0-9]+)");
 
 	private static String extractExtra(String url) {
 		Matcher m = PICASA_URL_PATTERN.matcher(url);



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