- Issue created by @recrit
- Merge request !21Issue #3515354: Do not attempt to move file if URI did not change β (Open) created by recrit
- πΊπΈUnited States recrit
attached is a static patch for any composer builds
- First commit to issue fork.
Before moving a file to private storage or to public storage, this module should check if the URI actually was modified to the destination file scheme.
The methods HandlerService::changeFilePathToPublic()
and HandlerService::changeFilePathToPrivate()
may not change the file URI if it does not contain the destination file scheme OR if the URI is a file scheme that is not "pubic" or "private".
Code cleanup to check if the URIs have changed after calling HandlerService::changeFilePathToPublic()
and HandlerService::changeFilePathToPrivate()
.
Active
1.0
Code
attached is a static patch for any composer builds