eclipse-thingweb / eclipse-thingweb/node-wot

Update default for ignoring slashes in HTTP routing

Open
#1,037 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.