eclipse-thingweb / eclipse-thingweb/node-wot
Update default for ignoring slashes in HTTP routing
Open
binding-http
enhancement
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 100
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 6
Description
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_
Contributor guide
Assessment
This issue has not been assessed yet.