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

Userid and password fields in URL are not recognized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.0.2, 1.1.3
    • core-libs
    • None
    • x86
    • windows_95



      Name: rlT66838 Date: 08/14/97


      When I do a URLConnection.connect() and the URL
      has the format
      "ftp://userid:###@###.###" I get a
      "class java.net.UnknownHostException" exception.
      It seems that connect() treats the "userid" as
      if it were the domain name. Your book,
      "The Java Class Libraries: An Annotated Reference"
      on page 1430 states that it supports RFC 1738,
      which specifies this syntax.
      company - 3M , email - ###@###.###
      ======================================================================

            brenaudsunw Benjamin Renaud (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: