nextcloud-server/lib/private
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 +07:00
..
Accounts chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Activity chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
App fix(apps): Fix type information of app manager 2024-01-23 09:55:06 +07:00
AppFramework Merge pull request #42794 from nextcloud/fix/invalid-trusted-proxies 2024-01-29 16:19:51 +07:00
Archive refactor: Repalce array_search with in_array in lib/ 2023-11-22 11:42:53 +07:00
Authentication chore: Fix missing template parameter for IEventListener 2024-01-30 10:57:15 +07:00
Avatar chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
BackgroundJob fix(cron): Reset the reserved_at when force executing from CLI 2023-12-20 10:07:41 +07:00
Blurhash/Listener blurhash generation 2024-01-05 11:50:51 +07:00
Broadcast/Events
Cache
Calendar
Collaboration feat(php,vue): Create a new parameter 2024-01-31 10:44:40 +07:00
Command chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Comments feat(comments): Add a meta data column for comments 2023-12-14 14:32:00 +07:00
Console chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Contacts/ContactsMenu feat(php,vue): Create a new parameter 2024-01-31 10:44:40 +07:00
DB fix(db): Execute dirty reads on the primary node 2024-01-30 12:17:39 +07:00
Dashboard Lower to info 2024-01-15 09:29:22 +07:00
Diagnostics
DirectEditing chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Encryption Revert "add key location to info:file output" 2024-01-17 17:53:37 +07:00
EventDispatcher chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Federation chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Files dav: fix wrong decoding of pluses in URLs 2024-01-31 13:26:04 +07:00
FilesMetadata debug logs on huge metadata 2024-01-04 21:51:56 +07:00
FullTextSearch
GlobalScale
Group chore: Fix missing template parameter for IEventListener 2024-01-30 10:57:15 +07:00
Hooks refactor: Repalce array_search with in_array in lib/ 2023-11-22 11:42:53 +07:00
Http chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
IntegrityCheck Revert "switching to new IAppConfig" 2024-01-30 18:37:09 +07:00
KnownUser
L10N Update lib/private/L10N/Factory.php 2023-10-18 02:33:54 +07:00
LDAP
Lock restore shared lock ttl when releasing 2023-12-21 15:14:27 +07:00
Lockdown
Log Fix log rotation notification level (warning->info) 2023-12-31 20:26:39 +07:00
Mail
Memcache adjust redis compareSetTTL to use a lua script 2023-12-21 15:14:27 +07:00
Migration chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Net Refactors Metadata, Migration, and Net. 2023-11-07 09:43:40 +07:00
Notification initialize variables 2024-01-04 10:59:22 +07:00
OCM feat(OCM): Dispatch an event so apps can register resources 2023-10-13 08:46:28 +07:00
OCS chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Preview Merge pull request #41067 from Murena-SAS/preview-folder-deletes 2024-01-18 11:46:12 +07:00
Profile chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Profiler chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Remote Convert isset ternary to null coalescing operator 2023-09-28 17:44:19 +07:00
Repair fix: change mime type for msg file 2023-11-29 12:27:55 +07:00
RichObjectStrings Improve validator output in case of invalid RichObject 2024-01-15 11:50:48 +07:00
Route chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Search chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Security fix(security): Handle idn_to_utf8 returning false 2023-12-04 10:38:46 +07:00
Session Always catch OCP versions of authentication exceptions 2024-01-11 14:02:15 +07:00
Settings chore(settings): Cleanup IManager and Manager type annotations 2023-11-23 08:29:37 +07:00
Setup fix: Avoid using replicas during setup 2023-12-28 11:51:35 +07:00
SetupCheck Add $name property in SetupResult and improve API 2023-11-07 14:15:47 +07:00
Share chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Share20 feat(php,vue): Create a new parameter 2024-01-31 10:44:40 +07:00
SpeechToText enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className 2023-12-19 12:31:21 +07:00
Support chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
SystemTag Refactors lib/private/SystemTag. 2023-11-07 09:41:33 +07:00
Tagging chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Talk chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Template Add global accessibility switch 2023-12-19 10:21:13 +07:00
TextProcessing cs:fix 2023-12-19 13:32:15 +07:00
TextToImage introduce IProviderWithUserId 2024-01-14 22:44:37 +07:00
Translation fix(coding style) 2024-01-10 16:15:06 +07:00
Updater fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com 2023-11-22 11:44:43 +07:00
User chore: Fix missing template parameter for IEventListener 2024-01-30 10:57:15 +07:00
UserStatus enh(userstatus): add OOO automation and remove calendar automation 2023-11-28 10:28:06 +07:00
legacy chore: Cleanup Installer class as well 2024-01-29 16:10:31 +07:00
AllConfig.php lazy AppConfig 2024-01-15 15:45:13 +07:00
AppConfig.php better indexes 2024-01-24 20:01:56 +07:00
AppScriptDependency.php
AppScriptSort.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
BinaryFinder.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
CapabilitiesManager.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Color.php
Config.php
ContactsManager.php
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php Update lib/private/DateTimeFormatter.php 2023-09-05 21:09:16 +07:00
DateTimeZone.php
EmojiHelper.php
EventSourceFactory.php
ForbiddenException.php
HintException.php
InitialStateService.php
Installer.php chore: Cleanup Installer class as well 2024-01-29 16:10:31 +07:00
LargeFileHelper.php
Log.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
MemoryInfo.php
NaturalSort.php
NaturalSort_DefaultCollator.php
NavigationManager.php enh(NavigationManager): Use ID as fallback for `app` property of entries 2023-12-06 15:46:22 +07:00
NeedsUpdateException.php
NotSquareException.php
PhoneNumberUtil.php fix(phonenumber): Improve docs by adding input details 2023-09-25 17:32:47 +07:00
PreviewManager.php fix: use png as preview right away 2023-11-13 22:00:45 +07:00
PreviewNotAvailableException.php
RedisFactory.php
Repair.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
RepairException.php
Search.php
Server.php blurhash generation 2024-01-05 11:50:51 +07:00
ServerContainer.php
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php fix: Use DI for Setup class and move away from deprecated methods 2024-01-29 15:28:00 +07:00
StreamImage.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Streamer.php
SubAdmin.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
SystemConfig.php lazy AppConfig 2024-01-15 15:45:13 +07:00
TagManager.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Tags.php Remove deprecated methods Util::writeLog and DIContainer::log 2023-09-25 10:37:12 +07:00
TempManager.php
TemplateLayout.php Add global accessibility switch 2023-12-19 10:21:13 +07:00
URLGenerator.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Updater.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00