You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	iOS: Fixes #2153: Fix sync issue with Stackstorage
This commit is contained in:
		| @@ -6,7 +6,7 @@ const URL = require('url-parse'); | ||||
| const { _ } = require('./locale'); | ||||
| const { rtrimSlashes } = require('./path-utils'); | ||||
| const base64 = require('base-64'); | ||||
|  | ||||
| const { ltrimSlashes } = require('./path-utils'); | ||||
|  | ||||
| // Note that the d: namespace (the DAV namespace) is specific to Nextcloud. The RFC for example uses "D:" however | ||||
| // we make all the tags and attributes lowercase so we handle both the Nextcloud style and RFC. Hopefully other | ||||
| @@ -378,7 +378,7 @@ class WebDavApi { | ||||
| 		if (options.path) fetchOptions.path = options.path; | ||||
| 		if (body) fetchOptions.body = body; | ||||
| 		fetchOptions.ignoreTlsErrors = this.options_.ignoreTlsErrors(); | ||||
| 		const url = `${this.baseUrl()}/${path}`; | ||||
| 		const url = `${this.baseUrl()}/${ltrimSlashes(path)}`; | ||||
|  | ||||
| 		if (shim.httpAgent(url)) fetchOptions.agent = shim.httpAgent(url); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user