The link to auto-populate a few Bugzilla fields from bug 630557 could also pre-populate the URL field, if you just tack on the current page as a param, like so: &bug_file_loc=http%3A%2F%2Fsome_url Full URL would be: https://bugzilla.mozilla.org/enter_bug.cgi?product=Webtools&component=Socorro&bug_file_loc=someurl (This is assuming you can get some_url (the current page, which is 404'ing) from Kohana, which I think is possible.)
Created attachment 526810 [details] [diff] [review] Adding URL to 404 Grabbing the script URI as a second argument for Bugzilla.
Created attachment 526812 [details] [diff] [review] Less expansive patch The first patch was too expansive for this specific bug.
Fixed in revision 3063 with the patch approved.
Verified FIXED on https://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13prefoo: [08:42:53.000] GET https://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13prefoo [HTTP/1.1 404 File Not Found 73ms] -- [08:43:07.035] GET https://bugzilla.mozilla.org/enter_bug.cgi?product=Webtools&component=Socorro&bug_file_loc=http%3A%2F%2Fcrash-stats.stage.mozilla.com%2Ftopcrasher%2Fbyversion%2FFirefox%2F4.0b13prefoo [HTTP/1.1 200 OK 820ms] resulting field in Bugzilla was "http://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13prefoo".
Reopening this because the bugzilla url parameter does not contain HTTPS which is the standard protocol for Socorro. Actual: bug_file_loc=http://crash-stats-dev.allizom.org/invaliddomain Expected: bug_file_loc=https://crash-stats-dev.allizom.org/invaliddomain
This is using the built in server-generated URL. Since Apache will automatically redirect a user to HTTPS if necessary, this doesn't present a security problem. Since this bug has already been released, I'm closing as resolved-fixed but the person who reopened it should feel free to file a new bug if they feel there is still merit to this issue.