Project.pm: skip baseurl validation if unchanged
commit7f92dd83240ac6c51fc3ebd70548846752e91b05
authorKyle J. McKay <mackyle@gmail.com>
Wed, 1 Jun 2016 15:42:27 +0000 (1 08:42 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 1 Jun 2016 15:42:27 +0000 (1 08:42 -0700)
treecba20fde997164039a53368ae17070f8d397fdd6
parent67291abd33c793849cd0327f2df9ab683f71b6d5
Project.pm: skip baseurl validation if unchanged

When editing a project's settings, if the baseurl (show as
"Repository URL" on the editproj page) is left unchanged then
allow it to stay the same even if it would fail validation.

This allows an admin to make an exception and manually alter
the fetch URL to something that would otherwise fail validation
while still allowing other settings to be changed successfully
through the web interface.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Project.pm