Project

General

Profile

Bug #2725

Updated by Alex Afanasyev over 9 years ago

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` ? 

Back