You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Guessing "Enter remote user syntax" for S2S share is bad UX #13678
When you use the "Add to my owncloud" field to mount a public share into another instance, it accepts almost any URL:
http://localhost/ownCloud/Master/index.php
http://localhost/ownCloud/Master/
http://localhost/ownCloud/Master
localhost/ownCloud/Master/index.php
localhost/ownCloud/Master/
localhost/ownCloud/Master
etc.
However, when trying to add a remote share via the share dropdown, you have to:
Guess that <username>@<instance> is the remote syntax
that <instance> MUST be the last of the list above.
We need a hint about the first thing in the UI and should fix the remote guessing to strip away http:// and /index.php(.*) so all of those URLs listed above work
"http://" already gets stripped away. I think this is mainly a documentation issue to tell people that they can address remote ownClouds like email addresses "user@domain", I don't see a reasons to support every kind of URLs and start guessing the right one by stripping "random" parts of the URL.
Activity
PVince81 commentedon Jan 26, 2015
CC @owncloud/designers
LukasReschke commentedon Jan 27, 2015
Just as a side note that is REALLY annoying… – I had to fight with that today and noticed it does not work with trailing slash……
PVince81 commentedon Jan 27, 2015
It should after #13677, at least with the format "user@host/owncloud/"
LukasReschke commentedon Jan 27, 2015
admin@localhost/core**/** fails admin@localhost/core works
schiessle commentedon Jan 29, 2015
"http://" already gets stripped away. I think this is mainly a documentation issue to tell people that they can address remote ownClouds like email addresses "user@domain", I don't see a reasons to support every kind of URLs and start guessing the right one by stripping "random" parts of the URL.
1 remaining item
Extract the remote host from user input in share dropdown
DeepDiver1975 commentedon Feb 26, 2015
link pr for master not yet merged - possible backport with 8.0.2
MorrisJobke commentedon Mar 11, 2015
@nickvergessen Reopened, because this is planned for 8.0.3 - please open a backport PR
Extract the remote host from user input in share dropdown
MorrisJobke commentedon Mar 11, 2015
merged