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

Cannot load a font from an other wiki when multi-wiki is "domain based"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 6.2
    • None
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Because of http://en.wikipedia.org/wiki/Cross-origin_resource_sharing

      See XWIKI-11300 for more details.

      Example of affected use cases:

      • a CSS loads a font stored in an attachment of a page of an other wiki.
        @font-face{
        	font-family:'My Font';
        	src:url('$docOfAnOtherWiki.getAttachmentURL("myfont.eot")')
        }
        
      • XWIKI-11300: a CSS stored in an other wiki loads a font resource (via getSkinFile() or webjar).

      Attachments

        Issue Links

          Activity

            People

              gdelhumeau Guillaume Delhumeau
              gdelhumeau Guillaume Delhumeau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: