Proxy host is retunrned as null when PAC file points to "DIRECT"

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P5
    • None
    • Affects Version/s: 1.4.2_03
    • Component/s: deploy
    • None
    • x86
    • solaris_2.5

      Please refer to bugid 4988192.
      As a workaround to bugid 4988192 the following solution was proposed by
      the plugin team ...
      ProxyInfo proxy = PluginProxyManager.getProxyInfo(url);
      String proxyInfo = proxy.getProxy(); // get the host name
      int port = proxy.getPort(); // get the port.

      This solution works only when the PAC files points to proxy server (e.g
      PROXY host:proxy).
      However a PAC file can return "DIRECT" also.

      If the PAC file points to "DIRECT" the proxy host returned should be
      a string, like "DIRECT" and not null.

            Assignee:
            Xiaobin Lu (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: