mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-29 14:56:25 +02:00
finish hadnling 'cleaned' remote URLs
This commit is contained in:
parent
a1af9aa8e2
commit
b61992ec51
2 changed files with 15 additions and 7 deletions
|
|
@ -147,6 +147,10 @@ func TestNewRequest(t *testing.T) {
|
|||
"http://localhost/http:/example.com/foo",
|
||||
"http://example.com/foo", emptyOptions, false,
|
||||
},
|
||||
{
|
||||
"http://localhost/http:///example.com/foo",
|
||||
"http://example.com/foo", emptyOptions, false,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue