Skip to content

Conversation

whois-jon-peterson
Copy link

What does this PR do?

Adds a check before proxying a request to fetch JSONSchema content, to ensure the request URI does not match the domains specified in the http.noProxy setting.

What issues does this PR fix or reference?

Related to the error described in #694, but not necessarily a complete fix for all circumstances reported by participants.

Is it tested? How?

Added unit tests for the new helper method.

Tested e2e by building and installing from source on a machine behind a ZScaler proxy, then confirming schemas hosted at URLs matching my NO_PROXY environment variable were no longer failing to load. Schemas hosted at proxied URLs also continue to load.

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