nextcloud/apps/dav/lib/Connector/Sabre
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
..
Exception Update license headers for 19 2020-04-29 11:57:22 +02:00
AnonymousOptionsPlugin.php Only catch anonymous OPTIONS for Office 2020-04-24 14:46:07 +02:00
AppEnabledPlugin.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Auth.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
BearerAuth.php Update license headers for 19 2020-04-29 11:57:22 +02:00
BlockLegacyClientPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CachingTree.php Fix numeric folders throwing on markDirty 2020-09-25 13:14:49 +00:00
ChecksumList.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CommentPropertiesPlugin.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
CopyEtagHeaderPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
DavAclPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Directory.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
DummyGetResponsePlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ExceptionLoggerPlugin.php Don't log Microsoft WebDAV client trying to tag things 2020-09-11 11:52:05 +02:00
FakeLockerPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
File.php Properly catch exception from writing to stream when copying a file 2020-09-10 09:03:53 +02:00
FilesPlugin.php Fix some MissingDocblockType or InvalidDocblock warnings. 2020-08-14 15:10:48 +02:00
FilesReportPlugin.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
LockPlugin.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
MaintenancePlugin.php Translate the maintenance mode message in webdav 2020-05-06 18:11:54 +02:00
Node.php Update share type constant usage 2020-06-24 16:49:16 +02:00
ObjectTree.php Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
Principal.php Mitigate encoding issue with user principal uri 2020-09-10 16:00:03 +02:00
PropfindCompressionPlugin.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
QuotaPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Server.php Update license headers 2019-12-05 15:38:45 +01:00
ServerFactory.php Translate the maintenance mode message in webdav 2020-05-06 18:11:54 +02:00
ShareTypeList.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ShareeList.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SharesPlugin.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
TagList.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TagsPlugin.php Add visibility to all constants 2020-04-10 16:54:27 +02:00