Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Protect .info files from prying eyes.
The patch solves the issue.
Comment | File | Size | Author |
---|---|---|---|
#3 | protect-info-files_2.patch | 657 bytes | rstamm |
protect-info-files.patch | 671 bytes | rstamm | |
Comments
Comment #1
profix898 CreditAttribution: profix898 commentedSo far only files containing php code or sql syntax are protected (not txt files for example). Isnt that enough? What can one learn from .info files?
Comment #2
beginner CreditAttribution: beginner commentedI couldn't apply to patch because it has non-standard line ends (use unix line ends as per guidelines http://drupal.org/patch )
Comment #3
rstamm CreditAttribution: rstamm commentedre-rolled
Comment #4
nickl CreditAttribution: nickl commentedIt is a way for someone to sniff what modules are installed on a site for whatever reason imaginable.
For completeness sake lets add .info to the forbidden list.
Works as advertised: RTBC?
Comment #5
drummCommitted to HEAD.
Comment #6
rstamm CreditAttribution: rstamm commented