mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
Fix for bug 100788: enter_bug.cgi wasn't correctly interpretting whether or not a partial URL needed an http:// added to the
front of it, which had the side-effect of duplicating the http:// on the front when a URL was passed from Bugzilla Helper. Patch by Josh Soref <timeless@mac.com> r= justdave, caillon
This commit is contained in:
parent
bc2ba9abf9
commit
14122fd43e
@ -437,7 +437,8 @@ print "
|
||||
<TR>
|
||||
<TD ALIGN=RIGHT><B>URL:</B>
|
||||
<TD COLSPAN=5>
|
||||
<INPUT NAME=bug_file_loc SIZE=60 value=\"http://" .
|
||||
<INPUT NAME=bug_file_loc SIZE=60 value=\"" .
|
||||
((formvalue('bug_file_loc') !~ /:/o) ? 'http://' : '') .
|
||||
value_quote(formvalue('bug_file_loc')) .
|
||||
"\"></TD>
|
||||
</TR>
|
||||
|
Loading…
x
Reference in New Issue
Block a user