From 574dd47394c98424639ce1e525c295809656a63e Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 22 Jan 2018 19:54:35 +0100 Subject: [PATCH] allow to open https:// urls --- radiant/mainframe.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radiant/mainframe.cpp b/radiant/mainframe.cpp index 1091e1f6..e7865291 100644 --- a/radiant/mainframe.cpp +++ b/radiant/mainframe.cpp @@ -902,7 +902,8 @@ void MainFrame::process_xlink( Str &FileName, const char *menu_name, const char if ( !strcmp( (const char*)pNode->name, "item" ) ) { // process the URL Str *url; - if ( strstr( (char *)xmlGetProp( pNode, (xmlChar *)"url" ), "http://" ) ) { + if ( strstr( (char *)xmlGetProp( pNode, (xmlChar *)"url" ), "http://" ) + || strstr( (char *)xmlGetProp( pNode, (xmlChar *)"url" ), "https://" ) ) { // complete URL url = new Str; *url = (char *)xmlGetProp( pNode, (xmlChar *)"url" );