node-wot
node-wot copied to clipboard
Update default for ignoring slashes in HTTP routing
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