Open
Bug 1805672
Opened 3 years ago
Updated 3 years ago
Allow all resolvable IP addresses from the local network interface if "localhost" is specified via --allow-origins
Categories
(Testing :: geckodriver, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
Details
(Whiteboard: [webdriver:backlog])
Originally filed as: https://github.com/mozilla/geckodriver/issues/2048
If clients specify localhost as allowed origin we should automatically allow all the resolvable local IP addresses as well, which would be 127.0.0.1 for IPv4 and if IPv6 is available [::1]. Right now it end-up with a failure and a connection drop:
➜ gecko-hg curl http://127.0.0.1:4444/session -X POST -H "Origin: http://localhost:4444"
{"value":{"error":"unknown error","message":"Invalid Origin header http://localhost:4444","stacktrace":""}}
See also bug 1792647 which covers the Remote Agent.
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
Summary: Allow all resolvable IP addresses from the local network interface if "localhost" is specified via --remote-allow-origins → Allow all resolvable IP addresses from the local network interface if "localhost" is specified via --allow-origins
| Reporter | ||
Updated•3 years ago
|
Priority: -- → P3
Whiteboard: [webdriver:backlog]
You need to log in
before you can comment on or make changes to this bug.
Description
•