Problem/Motivation
Revisiting this as a public follow up. There are a lot of references to file_save_htaccess(), a method which is now long deprecated.
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/syste... and a few more lines below.
See https://www.drupal.org/node/2940126
Proposed resolution
Update phpdoc comment and other references
Remaining tasks
MR
Background information
- security.drupal.org private issue: https://security.drupal.org/node/161877
(included for reference. Please do not report access denied as an error.)
People who participated in the private security issue and deserve credit: quicksketch, BarisW, webchick, effulgentsia, xjm, berdir, wim leers, amateescu, plach, alexpott, catch, tim.plunkett, larowlan, dawehner, gábor hojtsy, tedbow, GuyPaddock, cmlara, mondrake, longwave, kim.pepper, fabianx, jenlampton, benjifisher, poker10, drumm, bramdriesen
Issue fork drupal-3495778
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3495778-11.x
changes, plain diff MR !10664
- 3495778-update-phpdoc-in
changes, plain diff MR !10663
Comments
Comment #2
bramdriesenComment #4
bramdriesenComment #5
bramdriesenComment #8
bramdriesenThat was messy 😅 should be ok now!
Comment #9
bramdriesenComment #10
smustgrave commentedSeems pretty straight forward LGTM.
Comment #11
quietone commentedThanks for updating the docs. I think we should fix all occurrences of
file_save_htaccessin this one issue.Comment #12
bramdriesenFixed the @see to the relevant method.
Comment #13
bramdriesenProbably needs a small issue summary/title update
Comment #14
smustgrave commentedFeedback appears to be addressed.
Comment #15
quietone commentedComment #13 suggests more work and I agree the title should change.
Comment #16
bramdriesenUpdated IS and title, will set it back at RTBC as nothing changed in the code :-)
Comment #42
quietone commentedComment #44
quietone commentedComment #46
quietone commentedCommitted 798ad9e and pushed to 11.x. Thanks!