From 6fc3ee113391a6a76aa28248b9d75ac6439fe3e6 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Thu, 31 Aug 2000 04:32:43 +0000 Subject: fix for 37684 and 42609: trying to deal with malformed url's in the URL field during bug entry. instead of trying to be really intelligent over what a valid url field is, or doing any kind of complicated regexping and forcing http:// on everyone, what we do instead is pre-seed enter_bug.cgi bug_file_loc with http:// in the text field. if that is all there is in the field when we are in post_bug.cgi, then the value gets set to null (no URL entered into the new bug form). this allows for you to enter in any valid url that you want, but also make it obvious that http:// should be there for http:// urls at bug entry time --- enter_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index 8df634fd2..cd68bfdea 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -384,7 +384,7 @@ print " URL: - -- cgit v1.2.3-24-g4f1b