Closed s1shed closed 2 years ago
Hi @s1shed, thank you very much for the bug report!
I prepared a fix that probably resolves this; but I cannot try it, given that I have no way of replicating the situation.
Would you be willing to test the PR on the same retail page, to see if it fixes the issue?
Oh nevermind lol, I just stumbled upon that same bug! Tested it and it seems to work fine. Version 0.2.18 with the fix should be available in a few minutes.
The new version is available for Firefox, and in review for Chrome. Closing the issue, thanks again!
The new version is available for Firefox, and in review for Chrome. Closing the issue, thanks again!
Thanks for the quick fix! I verified with the site I saw this on.
A popular retail site has an img tag like the following:
The Behind addon attempts to download images with names like
w=2448
,h=1020
, etc. Additional examples below:These requests receive a 404 response, which is to be expected from the
srcset
above.Unfortunately these requests are made repeatedly—and frequently—effectively leading to a DoS against the site. If this tab is left open for a few hours several gigabytes of traffic can easily be generated, unbeknownst to the addon user.
The requests are not logged to the browser history so this was discovered by looking in the Network tab of the developer tools while Behind was active on an affected site.