Actions
Bug #2725
closedPotential name construction errors
Start date:
04/03/2015
Due date:
% Done:
100%
Estimated time:
Description
During construction of the Name object from URI, the following logic applies:
- "empty" name components are skipped
- for each name component in URI, heading and trailing whitespace is stripped
The first issue was working properly due to a bug in name::Component implementation, fixed as part of #2660. I believe that URIs containing multiple / in sequence are invalid and should throw exception (e.g., /hello////world
should be invalid). After #2660, behavior changes to throw exception.
I'm not sure if the second logic is correct. In other words, why / hello\t/\tworld \r\n
is equivalent to /hello/world
?
Actions