[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kaccounts-providers] pages: Check https:// url for owncloud and use https by default for owncloud
From: Weng Xuetian <wengxt () gmail ! com>
Date: 2015-10-15 21:01:28
Message-ID: E1ZmpeS-0000yK-7A () scm ! kde ! org
[Download RAW message or body]
Git commit 2420dfeeeab69b67a982a0868cb3a0bfd8aee428 by Weng Xuetian.
Committed on 02/10/2012 at 19:24.
Pushed by mklapetek into branch 'master'.
Check https:// url for owncloud and use https by default for owncloud
REVIEW: 106543
M +2 -2 pages/basicinfo.cpp
http://commits.kde.org/kaccounts-providers/2420dfeeeab69b67a982a0868cb3a0bfd8aee428
diff --git a/pages/basicinfo.cpp b/pages/basicinfo.cpp
index 80b18ee..775eb67 100644
--- a/pages/basicinfo.cpp
+++ b/pages/basicinfo.cpp
@@ -99,8 +99,8 @@ bool BasicInfo::validData() const
void BasicInfo::checkServer(const QString &path)
{
QString fixedUrl;
- if (!path.startsWith("http://")) {
- fixedUrl.append("http://");
+ if (!path.startsWith("http://") && !path.startsWith("https://")) {
+ fixedUrl.append("https://");
fixedUrl.append(path);
} else {
fixedUrl = path;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic