Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
d5b61f9a
Commit
d5b61f9a
authored
Jan 26, 2015
by
Vincent Petry
Browse files
Prevent double slash in shareinfo request URL
parent
836b8091
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_sharing/lib/external/storage.php
View file @
d5b61f9a
...
@@ -194,7 +194,7 @@ class Storage extends DAV implements ISharedStorage {
...
@@ -194,7 +194,7 @@ class Storage extends DAV implements ISharedStorage {
$remote
=
$this
->
getRemote
();
$remote
=
$this
->
getRemote
();
$token
=
$this
->
getToken
();
$token
=
$this
->
getToken
();
$password
=
$this
->
getPassword
();
$password
=
$this
->
getPassword
();
$url
=
$remote
.
'/index.php/apps/files_sharing/shareinfo?t='
.
$token
;
$url
=
rtrim
(
$remote
,
'/'
)
.
'/index.php/apps/files_sharing/shareinfo?t='
.
$token
;
$ch
=
curl_init
();
$ch
=
curl_init
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment