Skip to content

Commit

Permalink
SCO-161: make SCORM Player (contrib) inline (no iFrames) (sakaiprojec…
Browse files Browse the repository at this point in the history
bjones86 authored and ern committed Oct 1, 2019
1 parent d143e20 commit 2fe2aa1
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -729,7 +729,7 @@
# This property controls when to bypasss the portal inlining process based on the URL.
# Often this is the file suffix - but other patterns can be used.
# This is a regular expression with vertical bars to indicate "or"
# DEFAULT: \\.jpg$|\\.gif$|\\.js$|\\.png$|\\.jpeg$|\\.prf$|\\.css$|\\.zip$|\\.pdf\\.mov$|\\.json$|\\.jsonp$\\.xml$|\\.ajax$|\\.xls$|\\.xlsx$|\\.doc$|\\.docx$|uvbview$|linktracker$|hideshowcolumns$
# DEFAULT: \\.jpg$|\\.gif$|\\.js$|\\.png$|\\.jpeg$|\\.prf$|\\.css$|\\.zip$|\\.pdf\\.mov$|\\.json$|\\.jsonp$\\.xml$|\\.ajax$|\\.xls$|\\.xlsx$|\\.doc$|\\.docx$|uvbview$|linktracker$|hideshowcolumns$|scormplayerpage
# portal.bypass=
# To specify a different regular expression than the overall default for a particular Sakai tool,
# use a property with this pattern:
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ public class SiteHandler extends WorksiteHandler
// SAK-29180 - Normalize the properties, keeping the legacy pda sakai.properties names through Sakai-11 at least
private static final String BYPASS_URL_PROP = "portal.bypass";
private static final String LEGACY_BYPASS_URL_PROP = "portal.pda.bypass";
private static final String DEFAULT_BYPASS_URL = "\\.jpg$|\\.gif$|\\.js$|\\.png$|\\.jpeg$|\\.prf$|\\.css$|\\.zip$|\\.pdf\\.mov$|\\.json$|\\.jsonp$\\.xml$|\\.ajax$|\\.xls$|\\.xlsx$|\\.doc$|\\.docx$|uvbview$|linktracker$|hideshowcolumns$";
private static final String DEFAULT_BYPASS_URL = "\\.jpg$|\\.gif$|\\.js$|\\.png$|\\.jpeg$|\\.prf$|\\.css$|\\.zip$|\\.pdf\\.mov$|\\.json$|\\.jsonp$\\.xml$|\\.ajax$|\\.xls$|\\.xlsx$|\\.doc$|\\.docx$|uvbview$|linktracker$|hideshowcolumns$|scormplayerpage$";

// Make sure to lower-case the matching regex (i.e. don't use IResourceListener below)
private static final String BYPASS_QUERY_PROP = "portal.bypass.query";

0 comments on commit 2fe2aa1

Please sign in to comment.