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

rules files address are hardcoded upon installation? #232

Open rezad1393 opened 8 years ago

rezad1393 commented 8 years ago

Recently I copied my profile folder to another folder and run firefox for that folder. I noticed that policeman wasn't blocking anything and wasn't showing any requests . upon running firefox from terminal I saw that it gave warnings like this

" console.warn: Could not install ruleset id: default url: jar:file:///home/MyUser/.mozilla/firefox/MyOlderProfileFolder/extensions/policeman@futpib.addons.mozilla.org.xpi!/defaults/rulesets/default.ruleset due to the following error: {} "

this address is from older profile. why does policeman doesn't use relative paths for this? please investigate this.

heforfree commented 8 years ago

it is fixed in 0.19pre0 Fixed moving profile dir (#162)