- Issue created by @muriqui
- Merge request !46Issue #3387142: PrivateFiles check may fail or give misleading results for alternate stream wrappers β (Closed) created by muriqui
- last update
over 1 year ago 13 pass, 2 fail - Status changed to Needs review
over 1 year ago 8:14pm 13 September 2023 - π·πΈSerbia milos33
I have added this as a patch after upgrade to 2.0 and it worked, thanks.
- Status changed to Needs work
about 1 year ago 10:55pm 9 November 2023 - πΊπΈUnited States smustgrave
Committed this to 3.0.x branch where I'm converting to plugins and dependency injection. Helping test that dev branch would greatly be appreciated. Still converting some tests.
- Status changed to Fixed
12 months ago 12:32am 30 December 2023 - πΊπΈUnited States smustgrave
Will try and have a 3.0.x release next month, this will be included.
- Status changed to Needs work
12 months ago 1:30am 31 December 2023 - πΊπΈUnited States smustgrave
Had to revert on the 3.0.x branch was causing test failures.
- πΊπΈUnited States smustgrave
Removing parent as this shouldn't hold up 3.0.0
- πͺπ¨Ecuador jwilson3
I'm seeing another error when running security_review, it seems like it could be related to one of the lines of code on the MR here, so thought I'd mention it here.
Symfony\Component\Filesystem\Filesystem::makePathRelative(): Argument #1 ($endPath) must be of type string, bool given, called in /var/www/html/docroot/modules/contrib/security_review/src/Plugin/SecurityCheck/PrivateFiles.php on line 48 in Symfony\Component\Filesystem\Filesystem->makePathRelative() (line 448 of /var/www/html/vendor/symfony/filesystem/Filesystem.php). Drupal\security_review\Plugin\SecurityCheck\PrivateFiles->doRun() (Line: 75) Drupal\security_review\SecurityCheckBase->run(, Array) (Line: 151)
Note: I am not using the MR, because it no longer applies to stable version 3.0.0.
The source branch is 6 commits behind the target branch.
Needs a reroll I assume.
- πΊπΈUnited States smustgrave
Not sure unusable. Maybe this check, but least see if we can't get it in :)
- Status changed to Needs review
7 months ago 8:19pm 29 May 2024 - πΊπΈUnited States smustgrave
Someone want to try this?
The test failure may be a bug in core where it claims NULL can be passed to target()
- πͺπ¬Egypt mahmoudsayed96 Cairo
The same issue happened to me because I did not enable /add the private path in the `settings.php` file when adding it, an exception did not occur.
-
smustgrave β
committed eaa94a09 on 3.0.x
Issue #3387142 by smustgrave, muriqui: PrivateFiles check may fail or...
-
smustgrave β
committed eaa94a09 on 3.0.x
- Status changed to Fixed
6 months ago 4:11pm 28 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.