directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norval Hope (JIRA)" <>
Subject [jira] Updated: (DIRSERVER-1256) bad # hex escape in RDN doesn't throw InvalidNameException
Date Tue, 16 Sep 2008 12:26:44 GMT


Norval Hope updated DIRSERVER-1256:

    Attachment: DIRSERVER-1256.patch

The attached patch is made from the trunk root an fixes the issue. I have added another matching
test to and it turned out that parsing at the DN implementation level
(rather then RDN) was already working.

This issue of where to turn int error return into an exception is open to multiple solutions.
I chose to do it in RDNParser where there was a void parse method, but alternatively that
method could be changed to return an int and it could be done higher up the callstack.

> bad # hex escape in RDN doesn't throw InvalidNameException
> ----------------------------------------------------------
>                 Key: DIRSERVER-1256
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.4
>            Reporter: Norval Hope
>            Priority: Minor
>         Attachments: DIRSERVER-1256.patch
>   Original Estimate: 0.03h
>  Remaining Estimate: 0.03h
> RDNs like "a=#zz" don't result in an exception when they should (either the 'z's need
to be replaced by valid hex digits or should be "a=\#zz").

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message