mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #23234
[Bug 1399246] A change has been merged
Reviewed: https://reviews.mahara.org/4061
Committed: http://gitorious.org/mahara/mahara/commit/31e63c6358856aa7a07e676a8c8300218386324f
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch: master
commit 31e63c6358856aa7a07e676a8c8300218386324f
Author: Mike Kelly <m.f.kelly@xxxxxxxxxx>
Date: Thu Dec 4 15:24:48 2014 +0000
Fix PDFs SAMEORIGIN error when using subdomains (Bug #1399246)
X-Frame SAMEORIGIN error is thrown when viewing an embedded PDF on a
user's View, if Mahara is set up to use subdomains.
This is because the current page url has the subdomain part, but the PDF
iframe does not. Group views and page editing interface are not
affected.
This patch adds the subdomain part to the iframe url, and the PDF url,
as required.
Change-Id: I7e5856d8cfcd6ac7e2df71859c1b18d3f561bfd1
Signed-off-by: Mike Kelly <m.f.kelly@xxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1399246
Title:
PDF embeds fail in sites with subdomains for user pages
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 1.10 series:
New
Status in Mahara 1.8 series:
New
Status in Mahara 1.9 series:
New
Bug description:
The PDF content block fails to render the PDF iframe in a user's View
if Mahara is set up to have subdomain urls for users, e.g.
http://mikekelly.mymahara.org/mikes-page
This is due to the X-Frame SAMEORIGIN rule enforced for Mahara pages.
The PDF is served from the main domain, while the View page is served
from the subdomain.
This does not affect group Views, or the editing interface for Views,
where the user identifier subdomain part is not used in the url.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1399246/+subscriptions
References