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

java plugin is unable to handle long URLs (more than ~480 characters)

    XMLWordPrintable

Details

    • sparc
    • generic

    Description

      scenario:
      ---------

      from a java applet, use 'showDocument' method the display
      a page inside a frame.

      if you try to send a URL more than 480 (~) the worker pipe
      between the jvm and the plugin breaks.
      according to the traces and the source code of the plugin
      everything seems to work fine until the plugin tries to read
      the URL and the frame from the pipe (the JAVA_PLUGIN_SHOW_DOCUMENT request
      is actually received by the plugin , cf JavaVM5.cpp: DoWork)

      I used mozilla 1.4b. I tried to load a more than 500 characters URL manualy
      on mozilla and everything is fine.

      environement:
      -------------

      java plugin:

      Java(TM) Plug-in 1.4.2_02-b03


      you will find in attachement all the traces and the applet
      I used to trigger the problem.

      the applet is quite simple :
      the web page open 2 frames : one contains a button and an entry. just put a length in the entry and push the
      button. the applet will try to load a dummy URL of the specified length inside the second frame.

      for instance with '500' the URL will be : <document code base>/page_to_load.html? <500 times 'e'>









      ###@###.### 2004-04-20
      ###@###.### 2004-04-20
      ###@###.### 2004-04-21

      Attachments

        Activity

          People

            xlu Xiaobin Lu (Inactive)
            ejannett Emmanuel Jannetti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: