Skip to content

Releases: eduardoramirez/httprouter

Optionally apply TSR when cleaning a path

24 Aug 17:47
61c18a4
Compare
Choose a tag to compare
v1.2.1

optionally apply TSR when cleaning the incoming path (#8)

Support a request when the path needs to be fixed

30 Jul 22:54
04b7f2b
Compare
Choose a tag to compare
if the path needs to be cleaned, redirect instead of implicitly and s…

…ilently matching (#7)

correctly match already escaped incoming urls

30 Jul 20:41
419fd18
Compare
Choose a tag to compare
correctly match paths when using UseRawPath and when the URL came in …

…already escaped (#5)

* correctly match paths when using UseRawPath and when the URL came in already escaped

* typo

Updated route matching levers and better TSR

22 Jul 00:30
0ea9399
Compare
Choose a tag to compare
  • Adds new feature flags for controlling which path is used for route matching
  • Implemented trailing slash as redirects like the original source

prefers escaped path for route matching

20 Jul 22:54
34c6fd9
Compare
Choose a tag to compare
prefer the escaped path for route matching (#3)

* prefer the escaped path for route matching

* use EscapedPath instead

Fix prefix mismatch bug

08 Jul 02:40
7713969
Compare
Choose a tag to compare
handle possibly conflicting prefix search (#2)

* handle possibly conflicting prefix search

* Update tree_test.go

Co-authored-by: Jonathan Moody <jonathan@medium.com>

Co-authored-by: Jonathan Moody <jonathan@medium.com>

Support cleaning request path before route matching & retrying with fixed trailing slash

10 Jun 16:29
e6a3da2
Compare
Choose a tag to compare
Merge pull request #1 from eduardoramirez/eduardoramirez/clean-url

add support (as an option) for fixing the path and retry matching with or without a trailing slash

support unnamed catch all params

21 May 04:01
Compare
Choose a tag to compare
v1.0.3

support unnamed catchall

v1.0.2

21 May 03:30
Compare
Choose a tag to compare
dont drop the existing wild node subtree

v1.0.1: fix bug where router incorrectly paniced if a wild node already exist…

21 May 01:25
Compare
Choose a tag to compare