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 localhost to unsafeHttpWhitelist #6140

Closed
wants to merge 1 commit into from
Closed

add localhost to unsafeHttpWhitelist #6140

wants to merge 1 commit into from

Conversation

quisido
Copy link

@quisido quisido commented Feb 23, 2024

What's the problem this PR addresses?

My development environment uses an internal NPM registry proxied via a port on localhost. Like most localhosts, it does not support https. As a result, my .yarnrc.yml file is in a constant state of error: String does not match the pattern of "[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)".yaml-schema: Array of hostname glob patterns for which using the HTTP protocol is allowed.

...

How did you fix it?
I added localhost to the allowed pattern.

...

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@quisido quisido closed this by deleting the head repository Feb 26, 2024
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.

1 participant