You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the omnitruck script fails if the $env:no_proxy environment variable contains wildcard domain entries like *.chef.io.
Steps to Reproduce:
The cause is the Get-WebContentOnFullNet helper function. It doesn't sanitise the setting of $proxy.BypassList which must be an array of regular expressions.
$proxy=New-Object-TypeName System.Net.WebProxy
$proxy.BypassList=@( "*.chef.io" ) # will fail$proxy.BypassList=@( "\*.chef.io" ) # will work$proxy.BypassList=@( " *.chef.io" ) # also works
Version:
Omnitruck
Environment:
Windows
Scenario:
Running the omnitruck script fails if the
$env:no_proxy
environment variable contains wildcard domain entries like*.chef.io
.Steps to Reproduce:
The cause is the
Get-WebContentOnFullNet
helper function. It doesn't sanitise the setting of$proxy.BypassList
which must be an array of regular expressions.Expected Result:
Chef is installed
Actual Result:
Exception thrown -
Exception setting "BypassList": "parsing "*.chef.io" - Quantifier {x,y} following nothing."
The text was updated successfully, but these errors were encountered: