glyn        2002/06/25 06:47:31

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  Allow nonProxyHosts to be wrapped in double quotes as per the Sun description
  of the http.nonProxyHosts system property.
  
  Revision  Changes    Path
  1.70      +4 -1      xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- HTTPSender.java   20 Jun 2002 16:48:19 -0000      1.69
  +++ HTTPSender.java   25 Jun 2002 13:47:31 -0000      1.70
  @@ -892,7 +892,10 @@
           if ((nonProxyHosts == null) || (host == null)) {
               return false;
           }
  -        StringTokenizer tokenizer = new StringTokenizer(nonProxyHosts, "|");
  +        /* The http.nonProxyHosts system property is a list enclosed in
  +         * double quotes with items separated by a vertical bar.
  +         */
  +        StringTokenizer tokenizer = new StringTokenizer(nonProxyHosts, "|\"");
   
           while (tokenizer.hasMoreTokens()) {
               String pattern = tokenizer.nextToken();
  
  
  


Reply via email to