Closed
Bug 279004
Opened 20 years ago
Closed 20 years ago
fix link to favicon
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
1.1
People
(Reporter: annevk, Assigned: annevk)
References
()
Details
Attachments
(1 file, 1 obsolete file)
1.94 KB,
patch
|
Bugzilla-alanjstrBugs
:
first-review+
|
Details | Diff | Splinter Review |
The following piece of HTML should be removed from all pages: <link rel="icon" href="/images/favicon.png" type="image/png"> Now we have a favicon.ico in the root of domain (<https://addons.update.mozilla.org/favicon.ico>, see bug 278995) this is not needed anymore. (UAs always look in the root of the domain first.) Besides, it links to a file that does not exist.
Comment 1•20 years ago
|
||
then add that file. don't assume update will *always* be at the root of a domain to provide a favicon.ico (FYI, that favicon isn't in the update tree anyways, its server-side only.) The HTML should not be removed, as IIRC, that's the perferred way to introduce a favicon. :-)
update HAS to be at the root of the domain. The code forces it by using absolute urls. About 80, by someone's count last night.
Assignee | ||
Comment 3•20 years ago
|
||
(In reply to comment #1) No, all popular browsers always request a favicon.ico at the root of the domain. You can use HTML if it is located somewhere else although you will still get a lot of requests for /favicon.ico. Now it is located there, nothing else is needed anymore.
Comment 4•20 years ago
|
||
and there's harm in doing both? seriously. heh. Of course, leave it to standards to break themselves by giving a method of adding a favicon then acting like you shouldn't use it. heh. (BTW, that line is also following what mozilla.org itself uses. is this another case of special-casing update to be stupid on? ;-) )
Assignee | ||
Comment 5•20 years ago
|
||
mozilla.org should probably have its own bug. Anyway, we found out yesterday that the favicon that was linked from the HTML was broken and that a file /favicon.ico existed, albeit with the wrong MIME type. Since that was fixed there is no need for this line of HTML. It does not do harm to have it but it can simply be omitted.
Assignee | ||
Comment 6•20 years ago
|
||
This fixes both this bug and bug 258478.
Assignee: Bugzilla-alanjstrBugs → bug
Status: NEW → ASSIGNED
Attachment #171866 -
Flags: first-review?(Bugzilla-alanjstrBugs)
Comment 7•20 years ago
|
||
Comment on attachment 171866 [details] [diff] [review] patch Firefox checks for the <link> version first, instead of hammering the server. See bug 204393 for details.
Attachment #171866 -
Flags: first-review?(Bugzilla-alanjstrBugs) → first-review-
Assignee | ||
Comment 8•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #171866 -
Attachment is obsolete: true
Attachment #171868 -
Flags: first-review?(mconnor)
Attachment #171868 -
Flags: first-review?(mconnor) → first-review+
I un-bit-rotted the patch and checked it in. Trunk: Checking in mozilla/webtools/update/core/inc_header.php; /cvsroot/mozilla/webtools/update/core/inc_header.php,v <-- inc_header.php new revision: 1.9; previous revision: 1.8 done Branch: Checking in mozilla/webtools/update/core/inc_header.php; /cvsroot/mozilla/webtools/update/core/inc_header.php,v <-- inc_header.php new revision: 1.6.2.2; previous revision: 1.6.2.1 done Not resolving bug 258478 - someone who's familiar with the bug can confirm that it is fixed.
Updated•20 years ago
|
Summary: remove link to favicon → fix link to favicon
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•