[drupal-devel] [feature] Template file extension addition to base
.htaccess
killes
drupal-devel at drupal.org
Sun Aug 21 23:31:49 UTC 2005
Issue status update for
http://drupal.org/node/29344
Post a follow up:
http://drupal.org/project/comments/add/29344
Project: Drupal
Version: cvs
Component: base system
Category: feature requests
Priority: normal
Assigned to: Anonymous
Reported by: tclineks
Updated by: killes at www.drop.org
-Status: active
+Status: patch (code needs review)
It's a patch.
killes at www.drop.org
Previous comments:
------------------------------------------------------------------------
Sun, 21 Aug 2005 23:26:37 +0000 : tclineks
Attachment: http://drupal.org/files/issues/tpl_file_hiding.patch (439 bytes)
Here's patch/proposal to add the .tpl file extension (used for smarty
theme/module templates) to the list of those denied in the base
.htaccess file.
--- .htaccess 2005-08-22 18:22:14.799176000 +0000
+++ .htaccess_old 2005-08-22 18:22:48.287329600 +0000
@@ -3,7 +3,7 @@
#
# Protect files and directories from prying eyes.
-<Files ~
"(\.(inc|module|pl|sh|sql|theme|engine|xtmpl|tpl)|Entries|Repositories|Root|scripts|updates)$">
+<Files ~
"(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$">
Order deny,allow
Deny from all
</Files>
------------------------------------------------------------------------
Sun, 21 Aug 2005 23:28:12 +0000 : tclineks
Attachment: http://drupal.org/files/issues/tpl_file_hiding_0.patch (439 bytes)
Ahem...
More information about the drupal-devel
mailing list