[ phpopencounter-Bugs-994414 ] PHP error: files starting with a dot are included

"SourceForge.net" <[email protected]> Tue, 20 Jul 2004 03:06:38 -0700
Newsgroups gmane.comp.web.phpopentracker.devel
Message-ID <[email protected]>
Bugs item #994414, was opened at 2004-07-20 12:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101716&aid=994414&group_id=1716

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sybren Stüvel (bustersnyvel)
Assigned to: Nobody/Anonymous (nobody)
Summary: PHP error: files starting with a dot are included

Initial Comment:
If a file starting with a dot and containing .php is
placed in the plugins directory, it is included as a
plugin. This makes it impossible to edit files with
VIM, since it places a temporary swap file named
'.pluginname.php.swp'.

There are two mistakes here:

1) Files starting with a dot shouldn't be included
2) A file should end in .php, not just contain .php in
it's name. For instance, .phps files shouldn't be included.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101716&aid=994414&group_id=1716


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click