Open
Bug 466545
Opened 17 years ago
Updated 3 years ago
invalid XML characters can be imported into addressbooks cards
Categories
(Thunderbird :: Address Book, enhancement)
Thunderbird
Address Book
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: mozilla.org, Unassigned)
Details
Attachments
(1 file)
|
256 bytes,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Build Identifier: 3.0a3
For Thunderbird cards to be represented as XML, they can't contain characters that aren't valid XML characters.
Not all UTF-8 characters are valid XML. Here are the characters that the XML standard:
http://www.w3.org/TR/2000/REC-xml-20001006#NT-Char
currently allows:
Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
The Thunderbird Address Book UI won't allow contacts to be created with characters that are invalid in XML. But Thunderbird Import will, in which case the user gets wierd-looking symbols in the UI.
There's no point allowing wierd characters into a contact that can't be edited and can't be synced. The right place to fix this is at import time - this is an enhancement request for that.
Reproducible: Always
Steps to Reproduce:
The attached .ldif contains a contact with a control-V character in the Notes field.
Look at in the UI - the control-V in the Notes field appears as a wierd-looking box.
The contact can't be synced - at least with any application/service that exchanges data using XML.
Summary: invalid XML characters can be imported into an addressbooks cards, meaning they wont sync → invalid XML characters can be imported into an addressbooks cards
Summary: invalid XML characters can be imported into an addressbooks cards → invalid XML characters can be imported into addressbooks cards
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•