]> source.dussan.org Git - nextcloud-server.git/commit
Avoid double slashes in URL when trying to add an remote share
authorblizzz <blizzz@owncloud.com>
Wed, 18 Nov 2015 21:48:35 +0000 (22:48 +0100)
committerblizzz <blizzz@owncloud.com>
Wed, 18 Nov 2015 21:48:35 +0000 (22:48 +0100)
commit5d2e1268cd72d2a2a44136a298a675f8fe72d93d
treec596e7664b4f6d0ff7b85fabdb8583cb1258da6b
parentda5285dc23dc88d8f570409a8d7ed1296b95f407
Avoid double slashes in URL when trying to add an remote share

When being on a link share and clicking "Add to your ownCloud" a double slash might be inserted in the URL if the entered ownCloud host ended with a slash. Results in a server error.
apps/files_sharing/js/public.js