Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22908

Change Content-Security-Policy to allow base64 data images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 8.10
    • Fix Version/s: 8.10-HF15, 9.3
    • Component/s: Preview, Security

      Description

      To be able to use base64 data images (for example <img src="data:image/png;base64...") the directive img-src 'self' data:; must be added to https://github.com/nuxeo/nuxeo/blob/d4e1461d130b814c20fc39d4804f4318ee1471d5/nuxeo-services/nuxeo-platform-web-common/src/main/resources/OSGI-INF/web-request-controller-contrib.xml#L53

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h