mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-03 08:42:40 +02:00
parent
7dbadc01d4
commit
37c9f4d6ab
2 changed files with 5 additions and 1 deletions
|
|
@ -172,6 +172,10 @@ func TestNewRequest(t *testing.T) {
|
|||
"http://localhost/http:///example.com/foo",
|
||||
"http://example.com/foo", emptyOptions, false,
|
||||
},
|
||||
{ // escaped path
|
||||
"http://localhost/http://example.com/%2C",
|
||||
"http://example.com/%2C", emptyOptions, false,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue