1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-17 00:45:55 +00:00
Files
kararas_iris/core/router
wozz 923d151190 Fix open redirect
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
2018-04-20 16:49:30 -07:00
..
2018-03-17 02:27:25 +02:00
2018-04-20 16:49:30 -07:00
2018-02-21 12:27:01 +03:00