mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Align checksum dav property with desktop client parsing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
21254b02eb
commit
b8046e2ba4
2 changed files with 5 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ class ChecksumList implements XmlSerializable {
|
|||
private array $checksums;
|
||||
|
||||
public function __construct(string $checksum) {
|
||||
$this->checksums = explode(',', $checksum);
|
||||
$this->checksums = explode(' ', $checksum);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -256,7 +256,10 @@ interface FileInfo {
|
|||
public function getOwner();
|
||||
|
||||
/**
|
||||
* Get the stored checksum for this file
|
||||
* Get the stored checksum(s) for this file
|
||||
*
|
||||
* Checksums are stored in the format TYPE:CHECKSUM, here may be multiple checksums separated by a single space
|
||||
* e.g. MD5:d3b07384d113edec49eaa6238ad5ff00 SHA1:f1d2d2f924e986ac86fdf7b36c94bcdf32beec15
|
||||
*
|
||||
* @return string
|
||||
* @since 9.0.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue