From db6c4505c0d2996110196dfdb7aad72c1afbf202 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 12 Mar 2005 23:23:50 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5646 --- clientgui/ValidateURL.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clientgui/ValidateURL.cpp b/clientgui/ValidateURL.cpp index e016989fb7..3a2f7e6fd3 100644 --- a/clientgui/ValidateURL.cpp +++ b/clientgui/ValidateURL.cpp @@ -77,7 +77,11 @@ bool CValidateURL::Validate(wxWindow *parent) if ( wxURL_SNTXERR == val.GetError() ) m_errormsg = _("No URL supplied; please enter a valid project URL."); else if ( wxURL_NOPROTO == val.GetError() ) - m_errormsg = _("'%s' does not start with http://"); + { + // Special case: we want to allow the user to specify the URL without + // specifing the protocol. + ok = TRUE; + } else if ( wxURL_NOHOST == val.GetError() ) m_errormsg = _("'%s' does not contain a valid host name."); else if ( wxURL_NOPATH == val.GetError() )