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

wrong proxy type returned when file URL is used instead of http URL

XMLWordPrintable

    • 06
    • x86
    • solaris_2.6
    • Verified

        The following returns 1 (which is MANUAL)

        temp = System.getProperty("javaplugin.proxy.config.type");

        when we use java plugin 1.4.2 with "Use Broswer Setting" set to true
        (in the plugin control pannel) and the browser has a PAC file URL
        in the form of a file URL, like file:///c:/new.pac.

        Whereas instead of returning 1 System.getProperty should return 2,
        which is AUTO.

        A file URL pointing to Auto Configuration Script is a valid PAC location.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: