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

JEditorPane incorrectly keeps previous full URL on GET submission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs

      FULL PRODUCT VERSION :
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build 1.6.0-b105)
      Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      When submitting a form with GET the previous full URL is kept resulting in a malformed URL being submitted.

      For example, a form located at
      http://example.com/form?var=1&var2=1
      would submit var3 and var4 as
      http://example.com/form?var=1&var=2?var3=1&var4=1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a form that is generated by some GET variables and then submit again from there.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The previous variables should not be resubmitted.
      ACTUAL -
      The previous variables are resubmitted

      REPRODUCIBILITY :
      This bug can be reproduced always.

            peterz Peter Zhelezniakov
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: