Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18217

Image query string is saved when editing in-place

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.1, 5.3-milestone-2
    • Fix Version/s: 11.10.13, 12.6.7, 12.10.3
    • Component/s: Edit
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Follow this steps to reproduce:

      • Create a wiki page with this content:
        [[image:attach:Sandbox.WebHome@XWikiLogo.png||width="24" height="41"]]
        
      • Edit the page in-place and save (no changes required)
      • Check the wiki syntax

      Expected: the wiki syntax remains unchanged
      Actual: the wiki syntax becomes

      [[image:attach:Sandbox.WebHome@XWikiLogo.png||queryString="width=24&height=41" height="41" width="24"]]
      

      As you can see the generated image query string is saved in the wiki syntax, which is not expected.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: