[
https://issues.apache.org/jira/browse/AXIS2-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559674#action_12559674
]
Andreas Veithen commented on AXIS2-3453:
----------------------------------------
According to http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html
"http.nonProxyHosts indicates the hosts which should be connected too directly
and not through the proxy server. The value can be a list of hosts, each
seperated by a |, and in addition a wildcard character (*) can be used for
matching. For example: -Dhttp.nonProxyHosts="*.foo.com|localhost"." However the
code in ProxyConfiguration#validateNonProxyHosts interprets the items of the
list as regular expressions.
Note that the document cited in the Javadoc of the validateNonProxyHosts method
(http://java.sun.com/features/2002/11/hilevel_network.html) indeed says: "The
value of the http.nonProxyHosts property can be a list of hosts, each separated
by a |; it can also take a regular expression for matches; for example:
*.sfbay.sun.com would match any fully qualified hostname in the sfbay domain."
This is obviously inconsistent because the example is not a valid regular
expression.
As a conclusion, validateNonProxyHosts should be modified to conform to the
first document (which is consistent and more recent than the second one).
> java.util.regex.PatternSyntaxException in
> org.apache.axis2.transport.http.ProxyConfiguration
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-3453
> URL: https://issues.apache.org/jira/browse/AXIS2-3453
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: transports
> Affects Versions: 1.3
> Environment: Mac OS X, java 1.5
> Reporter: Michele Mazzucco
> Priority: Blocker
>
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg37201.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]