Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicitly-allowed-ports #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EatonChips
Copy link

Problem

When taking screenshots of web services running on non-standard ports, chrome can classify them as 'Unsafe' and throw a net::ERR_UNSAFE_PORT error.

Proposed Solution

To prevent this the --explicitly-allowed-port flag was implemented in chrome. Unfortunately it appears that each port must be explicit and ranges such as 1-65535 or wildcards are not supported. This creates a comma-separated list from 1-65535 and sets it as the --explicitly-allowed-port flag value, allowing screenshots to be taken on web services running on any port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant