Closed
Bug 783818
Opened 12 years ago
Closed 12 years ago
In kuma/templates/base.html {{ MEDIA_URL }} gives the wrong value
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: teoli, Unassigned)
Details
In kuma/templates/base.html {{ MEDIA_URL }} gives the wrong value for its usage: it returns "//developer.mozilla.org/media/" which leads to numerous erroneous URLs in the page like: //developer.mozilla.org/media/img/favicon.ico (there a dozen of these in each page source) It should returns: "https://developer.mozilla.org/media/" (or something else than {{ MEDIA_URL }} should be used to generate valid URLs)
Comment 1•12 years ago
|
||
Where are you seeing errors with URLs starting with "//" ? Marking as invalid since no error is seen in the console, but feel free to reopen.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 2•12 years ago
|
||
The URL is indeed valid. So no error (my bad understanding of the relative URL syntax) But we should drop //developer.mozilla.org as it useless. We should only have "/media/", it would just make the HTML code shorter (17 occurence *24 = 408 bytes). Maybe one day we would use a CDN or another domain, but for the moment, we can just drop it :-). But no big priority.
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Docs Platform → Editing
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•