iron / iron/router

Not allowing a trailing slash is a bad idea

Open
#82 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
168
Forks
76
PR merge metrics
No merged PRs in 30d

Description

A trailing slash in a URL is important. A URL with a trailing slash is a completely different URL from a URL without a trailing slash. For example, relative links are treated differently.

The router should allow users to treat these URLs differently.

More information:
https://cdivilly.wordpress.com/2014/03/11/why-trailing-slashes-on-uris-are-important/

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Read the linked explanation and inspect the router's URL matching behavior; done means users can distinguish URLs with and without trailing slashes without ambiguity.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.