• cyeh%bluemartini.com's avatar
    fix for 37684 and 42609: trying to deal with malformed url's in the URL field · 6fc3ee11
    cyeh%bluemartini.com authored
    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
    6fc3ee11
enter_bug.cgi 16 KB