chrome://pippki/content/newserver.js is not UTF-8

RESOLVED FIXED in mozilla1.8.1alpha2

Status

RESOLVED FIXED
13 years ago
2 years ago

People

(Reporter: glandium, Assigned: bugzilla)

Tracking

({fixed1.8.1})

1.8 Branch
mozilla1.8.1alpha2
fixed1.8.1

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.8.0.1) Gecko/20060313 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.8.0.1) Gecko/20060313 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1

Per nsScriptLoader::ConvertToUTF16, when loaded by chrome://pippki/content/newserver.xul, newserver.js inherits the charset from the document, in which, not being specified, the charset is utf-8.
But the newserver.js file is ISO-8859-1 because of Håkan Waara's name.

Because of bug #331748, this breaks the "Website Certified by an Unknown Authority" dialog

Reproducible: Always
Assignee: nobody → kengert
Component: General → Security: UI
Product: Firefox → Core
QA Contact: general
Version: unspecified → Trunk
(Assignee)

Comment 1

13 years ago
Don't know why this is marked as a Linux-specific bug, but still.
Can you attach a replacement file which _is_ UTF-8?
(Reporter)

Comment 2

13 years ago
can't you run iconv by yourself ?

Updated

13 years ago
OS: Linux → All
Hardware: PC → All
(Assignee)

Comment 3

13 years ago
My apologies. UTF-8 version attached.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Comment 4

13 years ago
Created attachment 216419 [details]
UTF-8 version of file
Assignee: kengert → bugzilla
Status: NEW → ASSIGNED
Attachment #216419 - Flags: review?
(Assignee)

Updated

13 years ago
Attachment #216419 - Flags: review? → review?(kengert)

Updated

13 years ago
Attachment #216419 - Flags: review?(kengert)
Attachment #216419 - Flags: review+
Attachment #216419 - Flags: approval-branch-1.8.1+

Updated

13 years ago
Attachment #216419 - Attachment mime type: application/x-javascript → text/plain

Updated

13 years ago
Attachment #216419 - Attachment mime type: text/plain → text/plain; charset=utf-8
(Assignee)

Updated

13 years ago
Whiteboard: [checkin needed]
mozilla/security/manager/pki/resources/content/newserver.js 	1.20.18.1
mozilla/security/manager/pki/resources/content/newserver.js 	1.21
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Target Milestone: --- → mozilla1.8.1alpha2
Version: Trunk → 1.8 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.