Use https for freedesktop.org
grep -l -r http:// | xargs sed -E -i s'#http://(.*).freedesktop.org#https://\1.freedesktop.org#'
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "web-util.h"
|
||||
|
||||
TEST(is_valid_documentation_url) {
|
||||
assert_se(documentation_url_is_valid("http://www.freedesktop.org/wiki/Software/systemd"));
|
||||
assert_se(documentation_url_is_valid("https://www.freedesktop.org/wiki/Software/systemd"));
|
||||
assert_se(documentation_url_is_valid("https://www.kernel.org/doc/Documentation/binfmt_misc.txt")); /* dead */
|
||||
assert_se(documentation_url_is_valid("https://www.kernel.org/doc/Documentation/admin-guide/binfmt-misc.rst"));
|
||||
assert_se(documentation_url_is_valid("https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html"));
|
||||
|
||||
Reference in New Issue
Block a user