Skip to content

Commit 5229441

Browse files
committed
switch HTTP URLs to HTTPS
1 parent 2218069 commit 5229441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/html_generation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ int generateHtmlFiles(const MessageDatabase& mdb, const FolderMap& fm, const HTM
5959

6060
BBCodeParser parser;
6161
Config conf;
62-
conf.setForumURL("http://www.example.com/forum/");
62+
conf.setForumURL("https://www.example.com/forum/");
6363
// try to load configuration file
6464
const std::string conf_path = pmdb::paths::conf();
6565
if (libstriezel::filesystem::file::exists(conf_path))
@@ -112,7 +112,7 @@ int generateHtmlFiles(const MessageDatabase& mdb, const FolderMap& fm, const HTM
112112
tpl.loadFromString("<a target=\"_blank\" href=\"" + conf.getForumURL() + "showthread.php?t={..attr..}\">{..inner..}</a>");
113113
AdvancedTemplateBBCode thread_advanced("thread", tpl, "inner", "attr");
114114
// wiki tag
115-
tpl.loadFromString("<a href=\"http://de.wikipedia.org/wiki/{..inner..}\" target=\"_blank\" title=\"Wikipediareferenz zu '{..inner..}'\">{..inner..}</a>");
115+
tpl.loadFromString("<a href=\"https://de.wikipedia.org/wiki/{..inner..}\" target=\"_blank\" title=\"Wikipediareferenz zu '{..inner..}'\">{..inner..}</a>");
116116
SimpleTemplateBBCode wiki("wiki", tpl, "inner");
117117
// tag for unordered lists
118118
ListBBCode list_unordered("list", true);

0 commit comments

Comments
 (0)