Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16629

Uploading large fonts for PDF export fails with XSRF error

      When uploading soui_zhs.ttf font that we use due to its comprehensive UTF8 support, I'm getting XSRF validation error:

      Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.

      I tried using FF3.5 as well as Safari and the error shows up when using either of them. The font file is relatively large (29MB) so that might be the reason why this font upload fails, while uploads of smaller files succeed.

            [CONFSERVER-16629] Uploading large fonts for PDF export fails with XSRF error

            Same here, it is working correctly
            Thanks for this

            Alexandre JOUANDEAU-IMOTO added a comment - Same here, it is working correctly Thanks for this

            Igor Minar added a comment -

            I can confirm that the workaround works! Thanks Don!

            Igor Minar added a comment - I can confirm that the workaround works! Thanks Don!

            Don Willis added a comment -

            i've replicated this and found a workaround. The error message only occurs when the font file is in fact too large to upload. If you get this error, increase the maximum attachment size in the Attachment Settings section of General Configuration.

            Don Willis added a comment - i've replicated this and found a workaround. The error message only occurs when the font file is in fact too large to upload. If you get this error, increase the maximum attachment size in the Attachment Settings section of General Configuration.

            I have the same issue here today when doing it on version 3.0_01 with arial unicode font (22M)
            With 9M font, it was ok

            Alexandre JOUANDEAU-IMOTO added a comment - I have the same issue here today when doing it on version 3.0_01 with arial unicode font (22M) With 9M font, it was ok

              rthomas@atlassian.com Ryan
              15d9a6950818 Igor Minar
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: