ProxyOptions setNonProxyHosts ability to support regex restricted by 18156 #25038
Labels
Azure.Core
azure-core
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Prior to #18156 setNonProxyHosts could support any regex. After 18156 only wildcards and only at the start or end are supported.
The java doc on setNonProxyHosts stayed the same before and after this change
Individual host strings may contain regex characters such as {@code '*'}.
It seems like the javadoc should reflect this reduction in the accepted input.
It would also be great if the old functionality was restored to allow a generic regex to be supplied perhaps via setNonProxyHostsRegex
The text was updated successfully, but these errors were encountered: