mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Owncloud: Fix getting id from id cache.
We need to remove the quotes around the ETag
This commit is contained in:
parent
415a86edeb
commit
fa0c458bb3
@ -1378,12 +1378,12 @@ static const char* owncloud_file_id( const char *path )
|
||||
bool doHeadRequest = false;
|
||||
|
||||
if (_id_cache.uri && c_streq(path, _id_cache.uri)) {
|
||||
return c_strdup(_id_cache.uri);
|
||||
header = _id_cache.id;
|
||||
}
|
||||
|
||||
doHeadRequest= false; /* ownCloud server doesn't have good support for HEAD yet */
|
||||
|
||||
if( doHeadRequest ) {
|
||||
if( !header && doHeadRequest ) {
|
||||
int neon_stat;
|
||||
/* Perform an HEAD request to the resource. HEAD delivers the
|
||||
* ETag header back. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user