[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP URI



Philip Guenther <guenther+ldaptech@sendmail.com> wrote:

> So, you have to precent-encode all non-graphical characters (0x00 through
> 0x20 and 0x7f though 0xff), as well as:
>       " -> %22
>       % -> %25
>       < -> %3c
>       > -> %3e
>       ? -> %3f
>       \ -> %5c
>       ^ -> %5e
>       ` -> %60
>       { -> %7b
>       | -> %7c
>       } -> %7d

You include ? in the list, but in many example I have seen, we have a ?
unencoded in a LDAP URI. I understand ? needs special treatment when it
is part of a dn, filter, attribute name, and it must not be confused
with the ? as URI part delimiter.

But in that situation, should we use \3f or %3f, or %5c3f?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org