mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
923d151190
Fix open redirect by using strings.Trim. Another option would be to use path.Clean similar to here, but I'm unsure of side effects that may have for this use case: https://github.com/golang/go/blob/master/src/net/http/server.go#L2034 See a PoC of this issue with this link: https://iris-go.com//google.com/ Former-commit-id: fa422e436353a7e0699f0b346f3679455c5d965b |
||
---|---|---|
.. | ||
macro | ||
node | ||
api_builder.go | ||
fs.go | ||
handler.go | ||
macro.go | ||
mime.go | ||
party.go | ||
path_test.go | ||
path.go | ||
route.go | ||
router_handlers_order_test.go | ||
router_subdomain_redirect_wrapper.go | ||
router_test.go | ||
router_wildcard_root_test.go | ||
router.go | ||
spa.go | ||
status_test.go | ||
status.go |