Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300130

htaccess functions should be a service

$
0
0

Problem/Motivation

As part of the general clean-up of the File API, file_save_htaccess() and file_ensure_htaccess() need to be deprecated and moved into services.

Proposed Resolution

Create a new service 'file.htaccess_writer' and deprecate file_ensure_htaccess() in favour of \Drupal\Core\File\HtaccessWriterInterface::ensure()

Deprecate file_save_htaccess() in favour of the FileSecurity component added in #3013210: Add drupal/core-filesecurity component for writing htaccess files


Viewing all articles
Browse latest Browse all 300130

Latest Images

Trending Articles


Practice Sheet of Pronoun References for HSC Students


Download: Alice Chuma – Okondewa


Neem Baba Extra Questions Answer Class 6 English Poorvi


CalCen


Muloraki Au


Mahakal Attitude Status


Love (2015).H264.Italian.English.Ac3.5.1.multisub.iCV-MIRCrew Seed (62)/Leech...


MUSIC STATION – 2017.09.01


Waves Complete v2019.02.14 Incl Emulator-R2R


Students hit streets to save Agriculture College land in city



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>