Use https for KDE urls
ClosedPublic

Authored by kfunk on Oct 8 2017, 6:38 PM.

Details

Summary

Make sure links in dialogs point to https:// urls

Diff Detail

Repository
R244 KCoreAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk created this revision.Oct 8 2017, 6:38 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 8 2017, 6:38 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
mpyne added a subscriber: mpyne.Oct 8 2017, 9:37 PM

I support the idea, but I think there's a few more spots where we can convert http:// to https://. I ran ag --only-matching --no-heading 'http:.*k.*\.org' in the kcoreaddons source directory, with the current version of this patch already applied, and got the following output:

src/lib/kaboutdata.h:811:http://". "http://kate.kde.org

src/mimetypes/kde5.xml:23:http://www.freedesktop.org
src/mimetypes/kde5.xml:3405:http://www.freedesktop.org
src/mimetypes/kde5.xml:3467:http://www.freedesktop.org

autotests/kpluginmetadatatest.cpp:238:http://kde.org

autotests/kaboutdatatest.cpp:184:http://www.koffice.org

autotests/data/twostepsparsetest.desktop:16:http://kde.org

autotests/data/fakeplugin.desktop:87:http://kde.org

autotests/data/hiddenplugin.desktop:87:http://kde.org

Of these, the XML might be an issue (though I doubt it), and I'm not sure if koffice.org is still current. But the autotest sample .desktop files can be changed, which will impact the kpluginmetadatatest also.

In the meantime I've verified that the current patch passes the testsuite on my machine as well.

apol accepted this revision.Oct 8 2017, 9:38 PM
apol added a subscriber: apol.

Mostly tests though ^^'.

This revision is now accepted and ready to land.Oct 8 2017, 9:38 PM
This revision was automatically updated to reflect the committed changes.
kfunk added a comment.Oct 8 2017, 9:55 PM
In D8207#153510, @mpyne wrote:

I support the idea, but I think there's a few more spots where we can convert http:// to https://. I ran ag --only-matching --no-heading 'http:.*k.*\.org' in the kcoreaddons source directory, with the current version of this patch already applied, and got the following output:

src/lib/kaboutdata.h:811:http://". "http://kate.kde.org

Bad match -- this is just an apidocs example how to format the url. I left this out.

I've now fixed all the http://kde.org urls as well. Didn't touch the others though -- those are out of our control.

Of these, the XML might be an issue (though I doubt it), and I'm not sure if koffice.org is still current. But the autotest sample .desktop files can be changed, which will impact the kpluginmetadatatest also.

In the meantime I've verified that the current patch passes the testsuite on my machine as well.

+1, same here.

Pushed now.