Author: ianb
Date: 2006-10-10 13:57:36 -0600 (Tue, 10 Oct 2006)
New Revision: 2000

Modified:
   FormEncode/trunk/docs/news.txt
   FormEncode/trunk/formencode/validators.py
Log:
Fixing SF bug #1457145

Modified: FormEncode/trunk/docs/news.txt
===================================================================
--- FormEncode/trunk/docs/news.txt      2006-10-10 16:26:54 UTC (rev 1999)
+++ FormEncode/trunk/docs/news.txt      2006-10-10 19:57:36 UTC (rev 2000)
@@ -6,7 +6,8 @@
 svn trunk
 ---------
 
-* No changes yet
+* Fixes `#1457145: Fails on URLs with port numbers
+  
<http://sourceforge.net/tracker/index.php?func=detail&aid=1457145&group_id=91231&atid=596416>`_
 
 0.6
 ---

Modified: FormEncode/trunk/formencode/validators.py
===================================================================
--- FormEncode/trunk/formencode/validators.py   2006-10-10 16:26:54 UTC (rev 
1999)
+++ FormEncode/trunk/formencode/validators.py   2006-10-10 19:57:36 UTC (rev 
2000)
@@ -1277,7 +1277,7 @@
 
     url_re = re.compile(r'^(http|https)://'
                         r'[a-z0-9][a-z0-9\-\._]*\.[a-z]+'
-                        r'(?:[0-9]+)?'
+                        r'(?::[0-9]+)?'
                         r'(?:/.*)?$', re.I) 
     scheme_re = re.compile(r'^[a-zA-Z]+:')
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs

Reply via email to