Yet another file prefix/suffix to protect. "Disabled" or "Backup" files with '~' which prefixes or is appended to the file name.

I find clients creating the former, and me creating the latter automatically using one of a few site-local text editors. These files often contain php, config files..

^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|.*~|~.*)$

:)
~dboune

Comments

lilou’s picture

Title: Protect "backup" files.. » Protect "backup" files.
Version: 5.x-dev » 7.x-dev
Component: base system » other
Status: Active » Needs work

Feature request go to HEAD.

Patch no longer applied against CVS/HEAD.

sillygwailo’s picture

StatusFileSize
new513 bytes

Patch updated for CVS/HEAD.

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.