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

java.net.URI should permit backslashes in opaque URIs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-libs
    • None
    • generic
    • generic

      Date: Tue, 29 May 2001 18:57:19 -0700 (PDT)
      From: ###@###.###

      Why does URI reject this string : "file:c:\\abc.bat" with the exception:

        java.net.URISyntaxException: Illegal character in opaque part at index 7: file:c:\abc.bat

      Assuming a zero-based index, the objection is to the "\".

            mr Mark Reinhold
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: