Drush acsf-uninstall does not revert the htaccess file

Created on 30 May 2023, about 1 year ago

The drush command acsf-init invokes the patchHtaccess() which alter the root .htaccess file to add the following line:

  # ACSF requirement: allow access to apc_rebuild.php.
  RewriteCond %{REQUEST_URI} !/sites/g/apc_rebuild.php$

right before the following line:

  RewriteRule "^(.+/.*|autoload)\.php($|/)" - [F]

When executing drush acsf-uninstall command, it does not revert the change in the .htaccess file.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France vbouchet

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024