nextcloud/lib/private/Files/Storage
Lorenz Brun a6f879e154 dav: fix wrong decoding of pluses in URLs
PHP's urldecode function does not decode URLs according to RFC 3986, but
according to the HTML 4.01 query parameter
encoding. This results in pluses being wrongly decoded to spaces even
though they should not be decoded at all.

Use rawurldecode instead, which follows RFC 3986 properly.

This fixes an issue where files on DAV shares containing pluses were
incorrectly decoded to spaces.

Fixes: #15849
Signed-off-by: Lorenz Brun <lorenz@brun.one>
2024-01-31 13:26:04 +01:00
..
PolyFill Rename file1 and file2 to source and target in Storage abstraction 2022-10-18 17:21:47 +02:00
Wrapper chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Common.php Convert isset ternary to null coalescing operator 2023-09-28 17:44:19 +03:30
CommonTest.php Update php licenses 2021-06-04 22:02:41 +02:00
DAV.php dav: fix wrong decoding of pluses in URLs 2024-01-31 13:26:04 +01:00
FailedStorage.php Remove unused method getLocalFolder 2023-04-03 10:52:34 +02:00
Home.php more share permission logic to storage wrapper 2023-08-14 18:17:27 +02:00
Local.php add some support for rename on case insensitive local filesystems 2023-10-20 15:03:11 +02:00
LocalRootStorage.php Update php licenses 2021-06-04 22:02:41 +02:00
LocalTempFileTrait.php Fix return type of methods returning false on error 2023-04-03 10:52:34 +02:00
Storage.php composer run cs:fix 2023-01-20 11:45:08 +01:00
StorageFactory.php Update php licenses 2021-06-04 22:02:41 +02:00
Temporary.php Update php licenses 2021-06-04 22:02:41 +02:00