JarURLConnection could mishandle file: scheme

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None
    • beta2
    • generic
    • generic

      The class sun.net.www.protocol.jar.URLJarFile may confuse the location of a resource for a URL which specifies the file: scheme.

      According to RFC 1738 the file URL scheme has the following syntax:

       file://<host>/<path>

      The current implementation of this class assumes that if the scheme is file
      the resource will be reachable as a local file and ignores the possibility that the <host> may be specified.

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Gary Ellison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: