Page 1 of 1

Allow scripts on URL with specific port

Posted: Mon Feb 06, 2023 11:03 am
by ManuTest
I have a local webserver running on say port 12345.
How do I add a rule to allow scripts on it?

If I add http://127.0.0.1:12345 the port number seems to be stripped and all 127.0.0.1 is allowed, not what I want!

Re: Allow scripts on URL with specific port

Posted: Mon Feb 06, 2023 2:50 pm
by barbaz
Testing with my local server (not at 127.0.0.1/localhost), it worked the way you want even though the port number isn't displayed. The port number was in fact accepted, as shown in NoScript Options > Advanced, Debug.

Actually, sometimes it's working and sometimes it's ignoring the port??

There is a NoScript bug here, but I'm not sure what of this is bug.

Re: Allow scripts on URL with specific port

Posted: Sun Feb 12, 2023 2:47 am
by ManuTest
Ah, thanks, you are right, it is just a display problem. Besides that, it works.

It would be better to show the port number in the normal list (non-debug) in the settings as well.
If you have multiple entries, they look the same and you don't know what is what.