Closed
Bug 170317
Opened 22 years ago
Closed 11 years ago
in nsCRLManager, does it matter if updateURL contains non-ASCII chars?
Categories
(Core Graveyard :: Security: UI, defect, P2)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: KaiE, Unassigned)
References
Details
(Whiteboard: [kerh-coz])
in nsCRLManager, in the call to pref->SetCharPref(), does it matter if updateURL contains non-ASCII chars?
Reporter | ||
Comment 1•22 years ago
|
||
This bug was spawned from bug 169932. Darin, can you please elaborate your concerns?
Comment 2•22 years ago
|
||
alec can probably speak best about the charset issues concerning SetCharPref. alec: what happens to non-ASCII characters passed into SetCharPref? we just store them as is, right? if so, then don't we need to worry about what happens if the user switches locales, or something like that?
Comment 3•22 years ago
|
||
ugh. SetCharPref should really only take ASCII, or at the most UTF8. But it should not hold other charsets...its too bad we didn't have AUTF8String when we froze this interface, or that is what we would have used. you should use SetComplexPref() with an nsISupportsString if you need to store unicode strings...but internally that will just convert it to utf8.
Reporter | ||
Updated•20 years ago
|
Assignee: kaie → nobody
Reporter | ||
Updated•19 years ago
|
Whiteboard: [kerh-coz]
Reporter | ||
Comment 5•18 years ago
|
||
changing obsolete psm* target to --- (unspecified)
Target Milestone: psm2.4 → ---
Updated•17 years ago
|
QA Contact: junruh → ui
Comment 6•11 years ago
|
||
nsCRLManager is gone.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•