Closed Bug 263250 Opened 20 years ago Closed 20 years ago

base href for simple buglists

Categories

(Bugzilla :: Query/Bug List, defect)

2.19
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: myk, Assigned: myk)

Details

Attachments

(1 file)

The simple buglist format was designed to be embedded into other pages via
iframes, f.e. in the Bugzilla helper, but it references a stylesheet using a
relative URL (css/buglist.css).  It should include a base tag so the stylesheet
URL can be resolved when the page is loaded within an iframe of a page loaded on
another site.
Comment on attachment 161323 [details] [diff] [review]
patch v1: adds base tag to head section of simple buglists

Gerv, got time to review this one-line fix?
Attachment #161323 - Flags: review?(gerv)
Comment on attachment 161323 [details] [diff] [review]
patch v1: adds base tag to head section of simple buglists

r=gerv.

Gerv
Attachment #161323 - Flags: review?(gerv) → review+
Comment on attachment 161323 [details] [diff] [review]
patch v1: adds base tag to head section of simple buglists

If the maintainer hasn't visited editparams.cgi yet, then this patch actually
makes it impossible to view the CSS (before applying the patch, the CSS would
be viewable for iframes on the same host as the BZ install)
> If the maintainer hasn't visited editparams.cgi yet, then this patch actually
> makes it impossible to view the CSS

That's true of all parts of Bugzilla that use the urlbase parameter, like
bugmail, dependency graphs, and reports, and more reason for installers to set
their urlbase appropriately.  Perhaps we should prompt them for it in
checksetup.pl to make that more automatic.
Flags: approval2.18+
Flags: approval+
Thanks Gerv.

Checking in list-simple.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/list/list-simple.html.tmpl,v
 <--  list-simple.html.tmpl
new revision: 1.9; previous revision: 1.8
done

Checking in ../bz218/template/en/default/list/list-simple.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/list/list-simple.html.tmpl,v
 <--  list-simple.html.tmpl
new revision: 1.7.2.1; previous revision: 1.7
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: