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

REGRESSION:Image fail to load from URL with a space in the IIS virtual directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 5.0u2
    • Fix Version/s: 5.0u3
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      J2SE Version (please include all output from java -version flag):
        1.5.0_02-ea-b04

      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
        No, works fine with Tiger 5.0

      Operating System Configuration Information (be specific):
        Windows XP Service Pack 2 IIS6

      Hardware Configuration Information (be specific):
        Intel based Dell Inspiron 5150 notebook. 1GB RAM/60GB Harddrive.

      Bug Description:
        ImageIcon fails to load from url with a space in the virtual directory name
        and no exception appears to be thrown.
        This worked fine in the first Tiger relase.

      Steps to Reproduce (be specific):
        Create an IIS virtual directory that has a space in its name. i.e. "Web 5"
        Copy ImageIconTest.html, ImageIconTest.jar, and blueCapt.gif to the IIS
        directory. Access the html file from Internet Explorer. The image will
        not display and no errors are produced.
       
        If ran with an IIS virtual directory that does not have a space in the name,
        it will display.


      Please see the attached example applet.



      ###@###.### 2005-1-19 21:58:07 GMT


      The following comes from the log file on the IIS. It appears that when run
      from IE the address is not properly translated from Icon%20Test to Icon+Test
      as it is from the applet viewer.

      <*ERROR*> IE 6.0 With JRE 1.5.0_02
      16:51:32 127.0.0.1 W3SVC1 GET /icon%20test/BlueCapt.gif - 404 4203 292
      Mozilla/4.0+(Windows+XP+5.1)+Java/1.5.0

      Applet Viewer With JRE 1.5.0_02
      16:59:05 127.0.0.1 W3SVC1 GET /icon+test/BlueCapt.gif - 200 3407 258
      Java(tm)+2+SDK,+Standard+Edition+v1.5.0+Java/1.5.0

      Applet Viewer With JRE 1.4.2_03
      16:55:30 127.0.0.1 W3SVC1 GET /icon+test/BlueCapt.gif - 200 3407 215
      Java(tm)+2+SDK,+Standard+Edition+v1.4.2_03+Java/1.4.2_03


      ###@###.### 2005-1-21 17:28:54 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yuwangsunw Yujiang Wang (Inactive)
                Reporter:
                tyao Ting-Yun Ingrid Yao (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: