RequestPolicyContinued / requestpolicy

a web browser extension that gives you control over cross-site requests. Available for XUL/XPCOM-based browsers.
https://github.com/RequestPolicyContinued/requestpolicy/wiki
Other
252 stars 35 forks source link

Import settings not works with unicode (IDN) #819

Open SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU opened 8 years ago

SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU commented 8 years ago

Steps to reproduce:

  1. Create a new Firefox profile
  2. Set RP's v0.5 default policy to: "deny"
  3. Clear all RP's rules.
  4. Open page http://5элемент.бел
  5. Add allow rule http://5элемент.бел to http://5element.by
  6. Export RP's rules to file.
  7. Clear all RP's rules.
  8. Import RP's rules from file from step 6.

What happens?

Rule address will be corrupt. Rule from step 5 not works.

What should happen?

Settings after step 5 and after step 8 must be equivalent.

Please, use encoding UTF-8 with BOM when import and export.