Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12249

Unexpected decoding of url encoded textarea data after submission

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Release Branch 17.12, 18.12.01
    • None
    • None

    Description

      When trying to add a note to WorkEffort entity, I found that url encoded characters are unescaped, which is not expected.

      e.g.:

      1. Go to page: https://demo-trunk.ofbiz.apache.org/workeffort/control/EditWorkEffortNotes?workEffortId=TASK01
      2. Add a note with content: https://example.com/a%20link
      3. After submission, it will turned to be: https://example.com/a link
       

       

      Attachments

        1. Image 006.png
          46 kB
          Jacques Le Roux
        2. OFBIZ-12249.patch
          6 kB
          Jacques Le Roux
        3. Image 005.png
          63 kB
          Jacques Le Roux
        4. OFBIZ-12249.patch
          3 kB
          Jacques Le Roux

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              dram Xin Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: