tumpio / requestcontrol

A Firefox extension
https://addons.mozilla.org/addon/requestcontrol
Mozilla Public License 2.0
172 stars 25 forks source link

redirecting based on ip:port? #171

Open rezad1393 opened 2 years ago

rezad1393 commented 2 years ago

I am trying to redirect from 127.0.0.1:8888 to another ip:port and I added the rule as [ { "uuid": "", "pattern": { "scheme": "*", "host": [ "127.0.0.1:8888" ], "path": [ "*" ] }, "action": "redirect", "active": true, "redirectUrl": "[hostname=192.168.1.2]", "types": [ "main_frame" ] } ]

but it doesn't redirect. it work with no port but not with added port.

also test part of addon shows the correct redirect but it doesn't redirect in browser.