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

HTML Converter adds \ before each ' in param data value = grief under Netscape

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.2.2
    • deploy
    • beta2
    • x86
    • windows_nt



      Name: skT45625 Date: 08/03/2000


      C:\>java -version
      java version "1.2.2"
      Classic VM (build JDK-1.2.2_006, native threads, symcjit)

      The same HTML file works OK under MS IE, but when I run it under Netscape
      getParameter( "TD0") returns a string that has a backslash preseeding each
      single quote.

      Dump of getParameter() (System.out.println) under MSIE produces what is
      expected:

      RN('root','Document
      Selections','file:E:/DocumentTree/DocTreeProjectPage.html','','icons/ClosedMaste
      rSearch.gif','icons/OpenMasterSearch.gif')

      Dump under Netscape produces this:

      RN(\'root\',\'Document
      Selections\',\'file:E:/DocumentTree/DocTreeProjectPage.html\',\'\',\'icons/Close
      dMasterSearch.gif\',\'icons/OpenMasterSearch.gif\')


      Original HTML statement:

      <PARAM NAME = TD0 VALUE ="RN('root','Document
      Selections','file:E:/DocumentTree/DocTreeProjectPage.html','','icons/ClosedMaste
      rSearch.gif','icons/OpenMasterSearch.gif')">

      Converted HTML statement:
      TD0 = "RN(\'root\',\'Document
      Selections\',\'file:E:/DocumentTree/DocTreeProjectPage.html\',\'\',\'icons/Close
      dMasterSearch.gif\',\'icons/OpenMasterSearch.gif\')"
      (Review ID: 107959)
      ======================================================================

            duke J. Duke
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: