Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7010153

Minor documentation issue with http.nonProxyHosts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6u20
    • Fix Version/s: 6u25
    • Component/s: docs
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        At http://download.oracle.com/javase/6/docs/technotes/guides/net/proxies.html, the property http.nonProxyHosts is described like:

        "http.nonProxyHosts: a list of hosts that should be reached directly, bypassing the proxy. This is a list of regular expressions separated by '|'. Any host matching one of these regular expressions will be reached through a direct connection instead of through a proxy."

        I got a bug filed on this, where the internal customer had issues with the regular expressions. It turns out that the "regular expressions" is actually just very simple patterns that may have a '*' either at the start or at the end.

        This solved the issue for the customer, but they asked us to clarify the documentation. I suggest something like:

        "http.nonProxyHosts: a list of hosts that should be reached directly, bypassing the proxy. This is a list of patterns separated by '|'. The patterns may start or end with a '*' for wildcards. Any host matching one of these patterns will be reached through a direct connection instead of through a proxy."

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                skannan Sowmya Kannan (Inactive)
                Reporter:
                mcastegr Mattis Castegren (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: