diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-29 11:22:02 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-29 11:22:02 +0000 |
commit | c1ec8d73f524d54a47e1a9e84cf232ccda2a8b9e (patch) | |
tree | 8388cee1d2733351fdc2fae48a01d5b9d4dd57b6 /htaccess.dist | |
parent | d5636fffdaa392bc15528059f233569738ee7e10 (diff) | |
download | wordpress-mu-c1ec8d73f524d54a47e1a9e84cf232ccda2a8b9e.tar.gz wordpress-mu-c1ec8d73f524d54a47e1a9e84cf232ccda2a8b9e.tar.xz wordpress-mu-c1ec8d73f524d54a47e1a9e84cf232ccda2a8b9e.zip |
Check that files url doesn't include plugins dir, fixes #639
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1317 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'htaccess.dist')
-rw-r--r-- | htaccess.dist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/htaccess.dist b/htaccess.dist index 20e3d98..8992f01 100644 --- a/htaccess.dist +++ b/htaccess.dist @@ -3,6 +3,7 @@ RewriteBase BASE/ #uploaded files RewriteRule ^(.*/)?files/$ index.php [L] +RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L] # add a trailing slash to /wp-admin |