File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public partial class MainForm : Form, ISearchable
7777 /// <summary>
7878 /// Defines the <see cref="Regex"/> to parse a release name from the GitHub API 3 JSON string.
7979 /// </summary>
80- private const string RELEASE_VERSION_REGEX = "\" name\" :\" ([\\ d\\ .]+)\" " ;
80+ private const string RELEASE_VERSION_REGEX = "\" name\" :[ \\ s]* \" ([\\ d\\ .]+)\" " ;
8181
8282 #endregion
8383
@@ -615,6 +615,9 @@ protected override void OnLoad(EventArgs e)
615615
616616 if ( Settings . Default . FrmMainCheckForUpdateOnStartup )
617617 {
618+ // Use the security protocol Tls12 for web requests to github.
619+ ServicePointManager . SecurityProtocol = ( SecurityProtocolType ) 3072 ;
620+
618621 // Build the web request object for the online update check.
619622 HttpWebRequest request = ( HttpWebRequest ) WebRequest . Create ( LOGBERT_UPDATE_API ) ;
620623
You can’t perform that action at this time.
0 commit comments