nextcloud/apps/dav/lib
Joas Schilling aefbf4c01d Fix numeric folders throwing on markDirty
TypeError: strpos() expects parameter 1 to be string, int given

The problem is that in cacheNode() we strip of any slashes, so
a folder "0/" will be trimmed to "0" and be used as an array key.
Since PHP automatically casts numeric array keys to integers,
you afterwards get $nodePath as int(0). Since it's now a number,
the strpos() function does not accept it anymore. Simply casting
$nodePath to a string again in the foreach solves the issue

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-25 13:14:49 +00:00
..
AppInfo Add Event and Task Backends for Unified Search 2020-08-04 16:01:59 +02:00
Avatars Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
CalDAV Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
CardDAV Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
Command Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Connector Fix numeric folders throwing on markDirty 2020-09-25 13:14:49 +00:00
Controller Update license headers for 19 2020-04-29 11:57:22 +02:00
DAV Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Db Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Direct Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Events Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Exception Update license headers 2019-12-05 15:38:45 +01:00
Files Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Provisioning/Apple Update license headers for 19 2020-04-29 11:57:22 +02:00
Search Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Settings Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Storage Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
SystemTag Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
Traits Update license headers for 19 2020-04-29 11:57:22 +02:00
Upload Update urls to stackoverflow.com to "HTTPS" 2020-09-17 17:38:27 +02:00
Capabilities.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HookManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RootCollection.php Add Typed Events for CalDAV- and CardDAV-related Events 2020-08-18 21:40:57 +02:00
Server.php Add ability to limit sharing to owner 2020-08-18 13:18:00 +02:00