mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 20:06:03 +02:00
authorize: more tests
This commit is contained in:
parent
19053c8f06
commit
a1424a54d0
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ test_allowed_route_source {
|
|||
allowed_route("http://example.com", {"source": "http://example.com"})
|
||||
allowed_route("http://example.com", {"source": "https://example.com"})
|
||||
allowed_route("http://example.com/", {"source": "https://example.com"})
|
||||
allowed_route("http://example.com", {"source": "https://example.com/"})
|
||||
allowed_route("http://example.com/", {"source": "https://example.com/"})
|
||||
not allowed_route("http://example.org", {"source": "example.com"})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue