Closed Bug 631737 Opened 13 years ago Closed 13 years ago

Add dynamic, auto-populating Bugzilla link from 404 page in Kohana

Categories

(Socorro :: General, task)

task
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stephend, Assigned: brandon)

References

()

Details

Attachments

(1 file, 1 obsolete file)

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.)
Attached patch Adding URL to 404 (obsolete) — Splinter Review
Grabbing the script URI as a second argument for Bugzilla.
Attachment #526810 - Flags: review?(rhelmer)
The first patch was too expansive for this specific bug.
Attachment #526810 - Attachment is obsolete: true
Attachment #526812 - Flags: review?(rhelmer)
Attachment #526810 - Flags: review?(rhelmer)
Assignee: nobody → bsavage
Attachment #526812 - Flags: review?(rhelmer) → review+
Fixed in revision 3063 with the patch approved.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.7.7
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
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Component: Socorro → General
Product: Webtools → Socorro
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.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: