Add path filter to joomla updates download process for the temp folder#32076
Add path filter to joomla updates download process for the temp folder#32076HLeithner merged 8 commits intojoomla:stagingfrom
Conversation
|
You can then replace the whole switch statement with |
|
Right even better 👍 |
|
@zero-24 Shall we test this, or shall we wait until the Todo's are done? If test: Could you add the missing link to an update package in the testing instructions (currently "(to be generated)")? |
|
This has to wait for the archive package to be merged and the path filter patched as noted above. The package i mean is the one generated by drone. |
|
@zero-24 I've updated in the description the link to the update package for this PR so it points to the latest build. |
|
Test on Linux was ok, but on Windows it was failing. See joomla-framework/filter#40 for the fix in the framework package. |
|
Now we have to wait for #32206 to be merged. |
|
I have just merged the filter package and updated the branch here so this is ready to be tested again. |
|
I've updated in the description the link to the update package for this PR so it points to the latest build. |
Thanks was about to do that too as we have to wait for it to be generated👍 |
|
I had to do it again because I had to restart drone. |
|
I have tested this item ✅ successfully on adab40b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32076. |
|
@zero-24 I've removed the "Todo's" section from the description because that stuff has been done meanwhile. |
| jimport('joomla.filesystem.folder'); | ||
| jimport('joomla.filesystem.file'); | ||
|
|
||
| use Joomla\CMS\Filter\InputFilter; |
|
I have tested this item ✅ successfully on adab40b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32076. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32076. |
|
@zero-24 Could you check @Quy 's suggestion above and fix it? #32076 (comment) . It will not change RTC status. |
Moved with: ce05326 |
|
Previous tests are still valid since last change after tests was code style only. I've restored the test results in the tracker. |
|
Thanks |
Summary of Changes
The JSST has been contacted about an missing path filter whithin the joomla download process. Given that an successfull attack requires a Super User access to change the tmp path setting and also to trigger the update itself the JSST decided to move this patch to the public tracker.
Testing Instructions
Actual result BEFORE applying this Pull Request
The upgrade works as expected
Expected result AFTER applying this Pull Request
The upgrade works as expected
Documentation Changes Required
none