diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ process with the main process but it allows to run plugins in any imaginable technologies. -The file structure for these plugins is the one of defined by [KPackage](http://api.kde.org/frameworks-api/frameworks5-apidocs/kpackage/html/index.html) +The file structure for these plugins is the one of defined by [KPackage](https://api.kde.org/frameworks-api/frameworks5-apidocs/kpackage/html/index.html) which allows to package and distributethe plugins in an archive. To that end, we will need to provide: diff --git a/src/plugins/pastebin/pastebinplugin.cpp b/src/plugins/pastebin/pastebinplugin.cpp --- a/src/plugins/pastebin/pastebinplugin.cpp +++ b/src/plugins/pastebin/pastebinplugin.cpp @@ -92,7 +92,7 @@ QByteArray bytearray = "api_option=paste&api_paste_private=1&api_paste_name=kde-purpose-pastebin-plugin&api_paste_expire_date=1D&api_paste_format=diff&api_dev_key="+*apiKey+"&api_paste_code="; bytearray += QUrl::toPercentEncoding(QString::fromUtf8(m_data)); - const QUrl url(QStringLiteral("http://pastebin.com/api/api_post.php")); + const QUrl url(QStringLiteral("https://pastebin.com/api/api_post.php")); KIO::TransferJob *tf = KIO::http_post(url, bytearray);