Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit a8587ba

Browse files
author
drsassafras
committed
[FIX] Whitelist - added access to some files that could be used (part 2)
git-svn-id: https://svn.code.sf.net/p/tikiwiki/code/trunk@61903 b456876b-0849-0410-b77d-98878d47e9d5
1 parent 5569a83 commit a8587ba

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

vendor/.htaccess

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@
88
# -- Allow Access to files used by Developer Dubugging Tools -- #
99
RewriteRule "\.(map|less|scss)$" "-" [PT,L]
1010

11-
# -- Vendor Exception List -- #
12-
# These are file types by vendor file that will bypass the default filtering
13-
#
14-
# If you are adding a new vendor that needs browser access, adding a file
15-
# type esception will be required.
16-
17-
RewriteRule "^(player/).*/.*\.swf$" "-" [PT,L]
18-
RewriteRule "^(fontawsome/).*/.*\.swf$" "-" [PT,L]
19-
RewriteRule "^(jquery/).*/.*\.swf$" "-" [PT,L]
20-
RewriteRule "^(studio-42/).*/.*\.wav$" "-" [PT,L]
21-
2211
# -- Deny Everything Not Matched Above -- #
2312
RewriteRule "/*" "-" [F]
2413

vendor_bundled/.htaccess

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
# -- Allow Access to files used by Developer Dubugging Tools -- #
99
RewriteRule "\.(map|less|scss)$" "-" [PT,L]
1010

11-
# -- Default Exception List -- #
12-
# These rules may be deleted if the browser does not need to access them.
11+
# -- Vendor Exception List -- #
12+
# These are file types by vendor file that will bypass the default filtering
1313
#
14-
# *** Work in progress, add exceptions before release where needed ***
15-
#
16-
# New vendor libraries can add exemptions if there is a issue, but the
17-
# likley senario is that it will not be needed.
14+
# If you are adding a new vendor that needs browser access, adding a file
15+
# type esception will be required.
1816

19-
RewriteRule "^(player/).*/.*\.swf$" "-" [PT,L]
17+
RewriteRule "^(vendor/player/).*/.*\.swf$" "-" [PT,L]
18+
RewriteRule "^(vendor/fontawsome/).*/.*\.swf$" "-" [PT,L]
19+
RewriteRule "^(vendor/jquery/).*/.*\.swf$" "-" [PT,L]
20+
RewriteRule "^(vendor/studio-42/).*/.*\.wav$" "-" [PT,L]
2021

2122
# -- Deny Everything Not Matched Above -- #
2223
RewriteRule "/*" "-" [F]

0 commit comments

Comments
 (0)