node-wot icon indicating copy to clipboard operation
node-wot copied to clipboard

Update default for ignoring slashes in HTTP routing

Open danielpeintner opened this issue 1 year ago • 0 comments

The new routing library introduced in https://github.com/eclipse-thingweb/node-wot/pull/1030 by default does not ignore trailing slashes. To avoid issues for existing implementations we decided to ignore trailing slashes for now (see https://github.com/eclipse-thingweb/node-wot/pull/1030/commits/b333da32868ade73f40fd71ffc213677c31ace47)

Anyhow, in future (with other breaking changes) we should use the default setting and treat slashes as not ignorable...

Originally posted by @JKRhb in https://github.com/eclipse-thingweb/node-wot/issues/1030#issuecomment-1630111152

danielpeintner avatar Jul 20 '23 13:07 danielpeintner