proxy's http response to http request results in empty download
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
New
|
Undecided
|
Unassigned |
Bug Description
when a resource is requested using https and a proxy server, and the proxy declines the CONNECT request with 403, a download window to a file name taken from the url is opened, with unknown mime type and (upon saving) empty body.
the behavior was discovered when and can be reproduced by using midori behind a privoxy proxy (with default settings), and accessing a google ad-foo infested page like http://
> CONNECT googleads.
< HTTP/1.1 403 Request blocked by Privoxy
< Content-Type: image/png
<
< an empty image
i don't know what the http spec on proxying says on the topic (whether it's ok to take the unencrypted response for the encrypted request), but opening a download popup certainly isn't the right reaction.