Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
13 Apr 2006 at 21:19 UTC
Updated:
28 Apr 2006 at 09:15 UTC
.htaccess only blocks .tpl theme files (as used by the Smarty engine) and not .tpl.php files (as used by phpTemplate). Since both template files can contain PHP code, but should never be run by themselves, bad things could happen if they were directly accessed. Here, we modify our FilesMatch to block both .tpl and .tpl.php.
| Comment | File | Size | Author |
|---|---|---|---|
| _tplphp.patch | 748 bytes | morbus iff |
Comments
Comment #1
moshe weitzman commentedComment #2
killes@www.drop.org commentedapplied
Comment #3
(not verified) commented