Closed Bug 270453 Opened 20 years ago Closed 20 years ago

Alter ampersands in CNET link to validate properly.

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: district, Assigned: annevk)

References

()

Details

The current link to a CNET article is not valid...the link code is:
http://reviews.cnet.com/Mozilla_Firefox_1_0/4505-9241_7-31117280.html?part=editchoice&subj=Mozilla&tag=logo


It shoud be:
http://reviews.cnet.com/Mozilla_Firefox_1_0/4505-9241_7-31117280.html?part=editchoice&subj=Mozilla&tag=logo

This is causing the default Firefox page not to validate properly.
Summary: <Summarize your changes here.> → Alter amersands in CNET link to validate properly.
fixed
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I noticed two more validation errors in the CNET links: one, that the link
contains a "target" link which is invalid, and two, that the img associated with
the link has a "border='0'" attributed which is also invalid. 

Thus, 
423:         <a
href="http://reviews.cnet.com/Mozilla_Firefox_1_0/4505-9241_7-31117280.html?part=editchoice&amp;subj=Mozilla&amp;tag=logo"

424:            target="_blank"><img 
425:            src="http://i.i.com.com/cnwk.1d/i/cobd/ec/EC_nov04_39x72.gif" 
426:            width="39" height="72" border="0" 
427:            alt="CNET Editors' Choice, November 2004, Firefox1.0"></a>      
428:

should be:


423:         <a
href="http://reviews.cnet.com/Mozilla_Firefox_1_0/4505-9241_7-31117280.html?part=editchoice&amp;subj=Mozilla&amp;tag=logo">

424:           <img 
425:            src="http://i.i.com.com/cnwk.1d/i/cobd/ec/EC_nov04_39x72.gif" 
426:            width="39" height="72"
427:            alt="CNET Editors' Choice, November 2004, Firefox1.0"></a>      
428:

Changing these two things should finally make the page valid html 4.01 strict.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
There's also a meta tag indicating iso-8859-1 charset but the HTTP headers says
utf-8.  The meta tag needs to go away.
If the HTTP headers say UTF-8, that's probably a sign that one of our webserver
mirrors is misconfigured (default Apache 2 AddDefaultCharset, perhaps), which
would mean that a bunch of our content is broken on that mirror.
(In reply to comment #4)
> If the HTTP headers say UTF-8, that's probably a sign that one of our webserver
> mirrors is misconfigured (default Apache 2 AddDefaultCharset, perhaps), which
> would mean that a bunch of our content is broken on that mirror.

we should be controlling charset with .htaccess files if they differ from the
server-wide charset.

I'm pretty sure current versions of Apache2 default to UTF-8 (and I'd been
planning to set our Apache 1.3 on rheet to mandate it, too).
Summary: Alter amersands in CNET link to validate properly. → Alter ampersands in CNET link to validate properly.
Depends on: 154570
I fixed this issue mentioned in comment 2. Removing dependecy since that has not
much to do with this bug and will eventually be fixed when we switch to UTF-8
side-wide. (Besides, the page validates perfectly.)
Status: UNCONFIRMED → NEW
No longer depends on: 154570
Ever confirmed: true
Assignee: mozilla.webmaster → bug
Status: NEW → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
The removal of the target attribute was a significant change in function.  Did
you ask the original author of that image link if that was what they intended?
Status: RESOLVED → VERIFIED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.