Bug 478232 - MIGRATED_FROM_JIRA: Incorrect handling of \xx escape sequences in DNs
Summary: MIGRATED_FROM_JIRA: Incorrect handling of \xx escape sequences in DNs
Keywords:
Status: CLOSED EOL
Alias: None
Product: penrose
Classification: Retired
Component: Engine
Version: 2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Endi Sukma Dewata
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: 471500
TreeView+ depends on / blocked
 
Reported: 2008-12-27 08:10 UTC by Chandrasekar Kannan
Modified: 2020-03-27 19:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:36:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Chandrasekar Kannan 2008-12-27 08:10:39 UTC
The DNBuilder unescapes \xx sequences in DNs as specified by RFC 4514. However, if the escape sequence represents a >1 byte UTF-8 sequence, the decoder fails to yield the correct result. The incorrect decoding is caused by treating each escaped character individually, instead of treating any consecutive number of characters as one UTF-8 sequence.

Example:
* {{cn=J\C3\B6rg Henne,...}} should yield {{cn=J

Comment 1 Chandrasekar Kannan 2008-12-27 08:10:41 UTC
Marking bug as MODIFIED as it was already resolved in Jira - PENROSE-262


Note You need to log in before you can comment on or make changes to this bug.