Userid and password fields in URL are not recognized

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.0.2, 1.1.3
    • Component/s: 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 - ###@###.###
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: