nextcloud/lib/private/Files
Lorenz Brun 745b6970bb 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-02-03 15:29:18 +01:00
..
AppData chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Cache also updated parent etags when a changed etag is detected during scanning 2024-01-31 18:27:29 +00:00
Config optimize UserMountCache::registerStorage 2023-11-16 16:21:59 +01:00
Lock Adapt LockScope to LockContext rename 2022-04-07 11:52:16 +02:00
Mount chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Node Synchronize operation on live photo files 2023-11-30 09:44:51 +00:00
Notify Update php licenses 2021-06-04 22:02:41 +02:00
ObjectStore also updated parent etags when a changed etag is detected during scanning 2024-01-31 18:27:29 +00:00
Search accept boolean value 2023-11-22 01:20:42 -01:00
SimpleFS chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Storage dav: fix wrong decoding of pluses in URLs 2024-02-03 15:29:18 +01:00
Stream chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Template fix(TemplateManager): Bail early if templatedirectory is empty 2023-12-04 09:57:30 +00:00
Type chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Utils chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
FileInfo.php Merge pull request #38622 from nextcloud/ifElseReturnMatch 2023-11-15 00:05:52 +01:00
Filesystem.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
SetupManager.php optimize builtin storage wrappers 2023-11-08 15:26:10 +01:00
SetupManagerFactory.php cleanup di for share permissions wrapper 2023-08-16 15:25:05 +02:00
View.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00