Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-32689

Sakai Iframe tool is confused when embedding a CloudFlare proxied web site

    XMLWordPrintable

    Details

    • 11 status:
      Resolved

      Description

      Sakai's web content tool (iframe tool) cleverly does a "HEAD" request at the moment of configuration to check if a page will allow embedding in an iframe:

       X-Frame-Options=SAMEORIGIN

      It turns out that if you don't send a user-agent to CloudFlare - it gives you a 403 on a HEAD request so Sakai thinks it cannot embed a URL and forces a popup.

      The solution is to send a user-agent with the HEAD requests.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  csev Charles Severance
                  Reporter:
                  csev Charles Severance
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code