Accept only http(s) endpoints and refuse URLs that could inject curl config directives. Restrict the transfer to http,https, keep redirects disabled (so a header cannot follow one to another origin) and bound the response with max-filesize. Add endpoint and transport regression tests. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||