incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r1330266 - /incubator/ooo/ooo-site/trunk/content/scripts/entourage.js
Date Wed, 25 Apr 2012 13:15:26 GMT
Author: robweir
Date: Wed Apr 25 13:15:26 2012
New Revision: 1330266

URL: http://svn.apache.org/viewvc?rev=1330266&view=rev
Log:
Add /download variants of file extensions to whitelist

Modified:
    incubator/ooo/ooo-site/trunk/content/scripts/entourage.js

Modified: incubator/ooo/ooo-site/trunk/content/scripts/entourage.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/scripts/entourage.js?rev=1330266&r1=1330265&r2=1330266&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/scripts/entourage.js (original)
+++ incubator/ooo/ooo-site/trunk/content/scripts/entourage.js Wed Apr 25 13:15:26 2012
@@ -14,7 +14,7 @@
 (function() {
 var entourage = new (function() {
 	var version = "1.1.2";
-	var whitelist = /\.pdf$|\.zip$|\.gz$|\.bz2$|\.od*|\.doc*|\.xls*|\.ppt*|\.exe$|\.dmg$|\.mov$|\.avi$|\.mp3$/i;
+	var whitelist = /\.pdf$|\.zip$|\.gz$|\.gz\/download$|\.bz2$|\.bz2\/download$|\.od*|\.doc*|\.xls*|\.ppt*|\.exe$|\.exe\/download$|\.dmg$|\.dmg\/download$|\.mov$|\.avi$|\.mp3$/i;
 	
 	//Get true FileName from link pathname
 	var getFileName = function(pathname) {



Mime
View raw message