Skip to content

use https by default if no protocol is given.#1975

Merged
rullzer merged 1 commit into
masterfrom
federated-sharing-always-https-by-default
Nov 2, 2016
Merged

use https by default if no protocol is given.#1975
rullzer merged 1 commit into
masterfrom
federated-sharing-always-https-by-default

Conversation

@schiessle

@schiessle schiessle commented Nov 2, 2016

Copy link
Copy Markdown
Member

Until now we always used a http connection as fall-back if https falied which is not perfect from a security point of view.

This pr changes the behaviour to always use https. Only excption: if http is explicitly given (user@http://server.org). Existing shares continue to work because we always store the protocol as part of the server url in the share table.

cc @LukasReschke we already discussed this in the past

…ction if it is explicitely given

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
@schiessle schiessle added this to the Nextcloud 11.0 milestone Nov 2, 2016
@mention-bot

Copy link
Copy Markdown

@schiessle, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LukasReschke, @PVince81 and @nickvergessen to be potential reviewers.

@nickvergessen

Copy link
Copy Markdown
Member

I guess it's okay, although it will trap some users in the beginning.

👍

@rullzer

rullzer commented Nov 2, 2016

Copy link
Copy Markdown
Member

LGTM.

But we should really look into #1667 since the messages here are not really understandable for the avarage user.

But good security hardening!

@rullzer rullzer merged commit acf01b7 into master Nov 2, 2016
@rullzer rullzer deleted the federated-sharing-always-https-by-default branch November 2, 2016 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants