harbor/src/server/middleware/mergeslash
Daniel Jiang f4ac81b710 Add merge slash middleware
There are code in the core component to conditionally execute code based
on the pattern of url path, and different ingress controller or reverse
proxy may handle the dup slashes in the url path differently.
This commit merge dup slashes in the url paths to make things more
consistent.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-05-28 17:24:48 +08:00
..
mergeslash_test.go Add merge slash middleware 2021-05-28 17:24:48 +08:00
mergeslash.go Add merge slash middleware 2021-05-28 17:24:48 +08:00