nextcloud/apps/dav/lib/Connector/Sabre
Joas Schilling 3fe6b5b5f8 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:58 +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:58 +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 Do not include mountpoints when calculating quota usage on WebDAV 2020-04-24 18:15:43 +02:00
DummyGetResponsePlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ExceptionLoggerPlugin.php Do not log RequestedRangeNotSatisfiable exceptions in DAV 2020-07-14 19:47:14 +00: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 13:18:11 +00:00
FilesPlugin.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
FilesReportPlugin.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
LockPlugin.php In LockPlugin, only release a lock if it was acquired 2020-07-06 12:11:47 +00:00
MaintenancePlugin.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Node.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ObjectTree.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Principal.php Mitigate encoding issue with user principal uri 2020-09-14 06:20:32 +00: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 Update license headers for 19 2020-04-29 11:57:22 +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 Add visibility to all constants 2020-04-10 16:54:27 +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