Talk:URL parser

From Rosetta Code
Revision as of 03:59, 24 July 2015 by rosettacode>Aspectcl (ldap:// example should be changed?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

= LDAP URL non-conformant

Great task! The example URLs provide good coverage, but the example ldap://[2001:db8::7]/c=GB?objectClass=one&objectClass=two is invalid per RFC2255. For solutions exercising library code that knows about more URL structures than HTTP, this is distracting. I suggest replacing it with the example in RFC3986: ldap://[2001:db8::7]/c=GB?objectClass?one which is just as parseable under HTTP rules, but won't blow up a parser that understands the ldap scheme.

--Aspectcl (talk) 03:59, 24 July 2015 (UTC)