Closed
Bug 1549637
Opened 5 years ago
Closed 5 years ago
Homepage link on the global header is wrong
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kohei, Assigned: dylan)
References
Details
Attachments
(1 file)
STR:
- Open the Enter Bug page
- Click the Bugzilla homepage on the global header
Expected: It takes you to the homepage
Actual: The page reloads.
Culprit:
<a href="[% c.url_for('/home').to_abs FILTER html %]" title="Go to home page">
Side note: The announcement banner hidden on another page also appears.
Maybe enter_bug.cgi
is not under control of Mojolicious?
Flags: needinfo?(dylan)
Assignee | ||
Comment 1•5 years ago
|
||
if (($ENV{SERVER_SOFTWARE} // '') eq 'Bugzilla::App::CGI') {
$vars->{self} = $vars->{c} = $Bugzilla::App::CGI::C;
}
Something is probably overwriting 'c'. I hate this template language so much, I wish everything was just mojo's template language (which is just perl but prevents this sort of footgun)
Flags: needinfo?(dylan)
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → dylan
Reporter | ||
Comment 2•5 years ago
|
||
Ah okay, found the culprit. Then this is a variant of Bug 1514275.
Assignee | ||
Comment 3•5 years ago
|
||
Reporter | ||
Comment 4•5 years ago
|
||
Merged to master.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Summary: Homepage link on the global header is wrong (only on the Enter Bug page?) → Homepage link on the global header is wrong
You need to log in
before you can comment on or make changes to this bug.
Description
•