mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 01:09:36 +02:00
authorize,proxy: remove support for paths within the from parameter
This commit is contained in:
parent
5ad0e0ebdc
commit
85a1a6d013
5 changed files with 6 additions and 15 deletions
|
@ -54,9 +54,6 @@ test_allowed_route_source {
|
|||
allowed_route("http://example.com", {"source": "http://example.com"})
|
||||
allowed_route("http://example.com", {"source": "https://example.com"})
|
||||
not allowed_route("http://example.org", {"source": "example.com"})
|
||||
allowed_route("http://example.com/some/path", {"source": "https://example.com/some/path"})
|
||||
allowed_route("http://example.com/some/path", {"source": "https://example.com/some/path?qs"})
|
||||
not allowed_route("http://example.com/some/other/path", {"source": "https://example.com/some/path"})
|
||||
}
|
||||
|
||||
test_allowed_route_prefix {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue