Closed Bug 331749 Opened 15 years ago Closed 15 years ago

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

Categories

(Core Graveyard :: Security: UI, defect)

1.8 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8.1alpha2

People

(Reporter: glandium, Assigned: bugzilla)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

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
Don't know why this is marked as a Linux-specific bug, but still.
Can you attach a replacement file which _is_ UTF-8?
can't you run iconv by yourself ?
OS: Linux → All
Hardware: PC → All
My apologies. UTF-8 version attached.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file UTF-8 version of file
Assignee: kengert → bugzilla
Status: NEW → ASSIGNED
Attachment #216419 - Flags: review?
Attachment #216419 - Flags: review? → review?(kengert)
Attachment #216419 - Flags: review?(kengert)
Attachment #216419 - Flags: review+
Attachment #216419 - Flags: approval-branch-1.8.1+
Attachment #216419 - Attachment mime type: application/x-javascript → text/plain
Attachment #216419 - Attachment mime type: text/plain → text/plain; charset=utf-8
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
Closed: 15 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.