You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2017/01/27 16:00:04 UTC

allura git commit: [#6016] Fix validation on personal website form

Repository: allura
Updated Branches:
  refs/heads/master 7002ae405 -> 887ca5945


[#6016] Fix validation on personal website form


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/887ca594
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/887ca594
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/887ca594

Branch: refs/heads/master
Commit: 887ca5945e0c675f4c805bed4081099f2816e2ce
Parents: 7002ae4
Author: Kenton Taylor <kt...@slashdotmedia.com>
Authored: Fri Jan 27 15:29:20 2017 +0000
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Jan 27 11:00:00 2017 -0500

----------------------------------------------------------------------
 Allura/allura/lib/widgets/forms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/887ca594/Allura/allura/lib/widgets/forms.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/forms.py b/Allura/allura/lib/widgets/forms.py
index bf2da98..91e7dee 100644
--- a/Allura/allura/lib/widgets/forms.py
+++ b/Allura/allura/lib/widgets/forms.py
@@ -345,7 +345,7 @@ class AddWebsiteForm(ForgeForm):
         newwebsite = ew.TextField(
             label='New website url',
             attrs={'value': ''},
-            validator=fev.URL())
+            validator=fev.URL(not_empty=True))
 
     def display(self, **kw):
         initial_value = kw.get('initial_value', '')