httpswitchboard icon indicating copy to clipboard operation
httpswitchboard copied to clipboard

Save As blocked when right-clicking links

Open Tanath opened this issue 11 years ago • 5 comments

From Opera:

We checked the extension and it's working as expected. With it setting to block all request it's supposed to not show Save As dialog when right clicking on links. That's how this extension seems to be designed. IF you think it shouldn't block such requests please contact authors of this extensions on https://github.com/gorhill/httpswitchboard/issues and ask them for some workaround for this case.

Is there some reason I'm not aware of why it'd be a good idea to block Save As, or is this a bug?

Tanath avatar Sep 03 '14 13:09 Tanath

Requests of type other are used by the "Save as..." feature to download what you want to save. Hence you need to allow requests of type other for the hostname(s) from where the content is downloaded.

gorhill avatar Sep 03 '14 14:09 gorhill

I realize it currently falls into the other category. What reason might there be for Save As to be blocked? Is there a risk? Why catch it at all?

On Wed, Sep 3, 2014 at 10:00 AM, Raymond Hill [email protected] wrote:

Requests of type other are used by the "Save as..." feature to download what you want to save. Hence you need to allow requests of type other for the hostname(s) from which the content is downloaded.

— Reply to this email directly or view it on GitHub https://github.com/gorhill/httpswitchboard/issues/407#issuecomment-54301213 .

Tanath avatar Sep 04 '14 03:09 Tanath

HTTPSB doesn't block specifically "Save as". HTTPSB is a low-level utility to deal with net requests, it doesn't have knowledge of high-level features such as "Save as", and when it inspects net requests, there is no context information attached to the next requests for HTTPSB to know why these net requests are made.

gorhill avatar Sep 04 '14 13:09 gorhill

So I guess there's no way to make an exception for it then?

On Thu, Sep 4, 2014 at 9:18 AM, Raymond Hill [email protected] wrote:

HTTPSB doesn't block specifically "Save as". HTTPSB is a low-level utility to deal with net requests, it doesn't have knowledge of high-level features such as "Save as", and when it inspects net requests, there is no context information attached to the next requests for HTTPSB to know why these net requests are made.

— Reply to this email directly or view it on GitHub https://github.com/gorhill/httpswitchboard/issues/407#issuecomment-54474067 .

Tanath avatar Sep 04 '14 16:09 Tanath

Aside whitelisting the other column, no.

gorhill avatar Sep 04 '14 16:09 gorhill