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

Images pasted from clipboard are attached with 'grafik.png' name on Firefox with German language

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.5-rc-1, 14.10.12
    • 14.6-rc-1
    • CKEditor
    • Windows 11 Pro, Firefox 113, using a local instance of XWiki 14.10.10 on HSQLDB
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce

      1. Access XWiki on Firefox set in German language (I was able to reproduce with only Firefox in German, not required to have the OS (Windows in my case) in German too)
      2. restart the Firefox browser after setting the language
      3. Edit a page with CKEditor
      4. Open an image stored locally on the system and copy it to clipboard or use CTRL+SHIFT+S in Firefox to create a screenshot and copy it
      5. Paste it into the XWiki page
      6. Click 'Save & View'
      7. Observe theĀ  'Attachments' tab

      Expected results

      The image was added as an attachment with a random name.

      Actual results

      The image is added with a hardcoded name, 'grafik.png'.

      The issue was reproduced only on Firefox (113).

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: