sun.net.www.ParseUtil should use getCanonicalPath instead of getAbsolutePath

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • None
    • generic
    • generic

      The getAbsolutePath method in class File does not check that a path is valid on the system. It simply appends the parent and child parts together. The getCanonicalPath method insures that a path is valid on the system. (This works even if the path doesn't yet exist.) This will result in more reliable URL parsing.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: