java.net.URL.equals behaviour is wrong for virtual hosts

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.3.1
    • Component/s: core-libs
    • None
    • x86
    • linux

      The java.net.URL.equals can return true even if URLs denote different resources. It occurs when the hosts have the same InetAddress and the same path. It is often case of virtual webservers so for example http://www.netbeans.org/ is 'equal' to http://openide.netbeans.org.

            Assignee:
            Yingxian Wang (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: