futpib / policeman

Firefox extention for cross-site requests control (kind of RequestPolicy clone)
https://addons.mozilla.org/en-US/firefox/addon/policeman/
142 stars 11 forks source link

Policeman breaks addon updates #212

Open Halibut80 opened 9 years ago

Halibut80 commented 9 years ago

Policeman block requests for some addon (only for some) update, without any notification in his popup.

1435954042383 addons.xpi WARN Download of https://github.com/RequestPolicyContinued/requestpolicy/releases/download/v1.0.beta10/requestpolicy-1-0-beta10.xpi failed: 2147549183

Policeman 0.19pre3, Win 8.1 x64, Firefox Nightly 42.0a1 x64 BuildID:20150702030207, e10s disabled.

heforfree commented 9 years ago

@futpib can you fix this anytime soon? this is very annoying.Specially when i want update addons or use S3.Google Translator edit:also it pervent firefox sync

heforfree commented 9 years ago

here log error for firefox sync https://gist.github.com/heforfree/34214d4492d6010d94d6

futpib commented 9 years ago

It turns out that this particular link redirects from github.com to amazonaws.com, thus I don't think this is a bug, since user may want a setup that reject this sort of things. The lack of UI for such things is a bug though (#155).

As a workaround I suggest you use the allow_redirects_system_principal ruleset I just pushed. It may be a good idea to include it as part of compatibility ruleset until we have other ways for dealing with system requests.

heforfree commented 9 years ago

so with this ruleset must work? because it wont work for me also i have persistant rule allow page anydomain to anydomain

futpib commented 9 years ago

@heforfree It worked for me for the RequestPolicyContinued update, not sure about Firefox Sync, may be a separate issue.

Halibut80 commented 9 years ago

@futpib Thanks, it's also fix https://github.com/futpib/policeman/issues/186 for me.

heforfree commented 9 years ago

ok i see now it work example if i go policeman page and try install,it work.before using this ruleset not working https://addons.mozilla.org/en-US/firefox/addon/policeman/

Firefox Sync not working S3.Google Translator not working try update addon from available updates in about:addons page pervent updating example install and older version of below addon then go to about:addons and do a check for updates then try update it from about:addons.it's not working

https://addons.mozilla.org/en-US/firefox/addon/stop-it/versions/

heforfree commented 9 years ago

it seems problem is with this addon checked must of addons i installed and seems problem is with this when i disable it from toolbar then working.but i do same in a new profile but without deactive refcontrol and working with eachother

https://addons.mozilla.org/en-US/firefox/addon/refcontrol/

so it is work now for me thank you very much.

heforfree commented 9 years ago

ok i tested more,i disabled Same base domain in new profile like my default profile and set "default for sites not listed to Forge" in refcontrol.and error happen. so if you want close it

heforfree commented 9 years ago

if policeman log such as request in popup it make it easy