Closed tuwrraphael closed 3 years ago
Can you please take a look on this fix? This break underlying clients when proxy has wildcards "*". cc @mastrzyz @damccorm 🙏
cc @bryanmacfarlane 🙏
This looks good to me! One last request - would you mind bumping the package.json version? I think this probably merits a patch bump, and I'll merge/release it after that
done 👍 Thanks for your time & support!
Thank you 🎉🎉🎉🎉
Seems build on main/master branch is failing.
Could you take a look @damccorm ?
This fixes #215 by escaping the wildcard for the
RegExp
. I created the utility functionbuildProxyBypassRegexFromEnv
to allow unit testing of this functionality. A second test ensures theHttpClient
constructs with theNO_PROXY
environment variable set to a wildcard domain.