Skip to content

Releases: eduardoramirez/httprouter

Optionally apply TSR when cleaning a path

Choose a tag to compare

@eduardoramirez eduardoramirez released this 24 Aug 17:47
61c18a4
v1.2.1

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

Support a request when the path needs to be fixed

Choose a tag to compare

@eduardoramirez eduardoramirez released this 30 Jul 22:54
04b7f2b
v1.2.0

if the path needs to be cleaned, redirect instead of implicitly and s…

correctly match already escaped incoming urls

Choose a tag to compare

@eduardoramirez eduardoramirez released this 30 Jul 20:41
419fd18
v1.1.1

correctly match paths when using UseRawPath and when the URL came in …

Updated route matching levers and better TSR

Choose a tag to compare

@eduardoramirez eduardoramirez released this 22 Jul 00:30
0ea9399
  • 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

Choose a tag to compare

@eduardoramirez eduardoramirez released this 20 Jul 22:54
34c6fd9
prefer the escaped path for route matching (#3)

* prefer the escaped path for route matching

* use EscapedPath instead

Fix prefix mismatch bug

Choose a tag to compare

@eduardoramirez eduardoramirez released this 08 Jul 02:40
7713969
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

Choose a tag to compare

@eduardoramirez eduardoramirez released this 10 Jun 16:29
e6a3da2
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

Choose a tag to compare

@eduardoramirez eduardoramirez released this 21 May 04:01
v1.0.3

support unnamed catchall

v1.0.2

Choose a tag to compare

@eduardoramirez eduardoramirez released this 21 May 03:30
dont drop the existing wild node subtree

v1.0.1

Choose a tag to compare

@eduardoramirez eduardoramirez released this 21 May 01:25
fix bug where router incorrectly paniced if a wild node already exist…