nextcloud/lib
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
..
composer better indexes 2024-01-24 20:01:56 -01:00
l10n Fix(l10n): Update translations from Transifex 2024-01-28 00:19:08 +00:00
private dav: fix wrong decoding of pluses in URLs 2024-01-31 13:26:04 +01:00
public feat(php,vue): Create a new parameter 2024-01-31 10:44:40 +01:00
autoloader.php Remove deprecated methods Util::writeLog and DIContainer::log 2023-09-25 10:37:12 +02:00
base.php fix: Use DI for Setup class and move away from deprecated methods 2024-01-29 15:28:00 +01:00
versioncheck.php Allow PHP 8.3 in version check 2023-09-30 22:52:57 +02:00