Skip to content

Omitting protocol when adding remote share does not work #9097

Closed

Description

@PVince81

Steps to reproduce

  1. Setup two servers "localserver" and "remoteserver"
  2. On "remoteserver" create a folder "shared_folder"
  3. Share "shared_folder" with link.
  4. Open the link
  5. Click "Add to ownCloud" and entry the URL of "localserver" but WITHOUT the protocol, for example: "laptop.vincentpetry.net:8080/owncloud"

Expected result

Auto-detect routine finds out that HTTP is the correct protocol.

Actual result

An error popup appears that says that "laptop.vincentpetry.net:8080/owncloud".
From the code I saw earlier it should try HTTPS, then HTTP to find out the correct protocol.
Note that if I manually enter "http://laptop.vincentpetry.net:8080/owncloud" it works.

More information

Using OC7 git master baf46c7 for both servers

Setting to low as it's mostly a UX issue and nice to have.

Activity

  1. PVince81 commented on Jun 18, 2014

    @PVince81
    ContributorAuthor

    @icewind1991 @schiesbn

  2. added this to the milestone on Jun 20, 2014
  3. icewind1991 commented on Aug 6, 2014

    @icewind1991
    Contributor

    I'm not able to reproduce this, can you post the result of the call to testremote.php

  4. PVince81 commented on Aug 12, 2014

    @PVince81
    ContributorAuthor

    Yes, works for me now.
    It seems that my VM didn't resolve the host name correctly which caused a timeout. => environment issue.
    Closing.

  5. modified the milestones: archive, 2014-sprint-01 on Sep 9, 2014
  6. locked as resolved and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions