[Opalvoip-svn] SF.net SVN: opalvoip:[34902] ptlib/trunk/src/ptclib/shttpsvc.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2016-08-02 12:59:46
|
Revision: 34902 http://sourceforge.net/p/opalvoip/code/34902 Author: rjongbloed Date: 2016-08-02 12:59:43 +0000 (Tue, 02 Aug 2016) Log Message: ----------- Fixed URL scheme in PSecureHTTPServiceProcess auto-upgrade from http to https. Modified Paths: -------------- ptlib/trunk/src/ptclib/shttpsvc.cxx Modified: ptlib/trunk/src/ptclib/shttpsvc.cxx =================================================================== --- ptlib/trunk/src/ptclib/shttpsvc.cxx 2016-08-01 13:00:48 UTC (rev 34901) +++ ptlib/trunk/src/ptclib/shttpsvc.cxx 2016-08-02 12:59:43 UTC (rev 34902) @@ -214,8 +214,8 @@ } } - url.Splice("http://", 0); - PSYSTEMLOG(Info, "Detected non-SSL connection, redirecting to " << url); + url.Splice("https://", 0); + PSYSTEMLOG(Info, "Detected non-SSL connection, host=\"" << host << "\", redirecting to " << url); PString str = CreateNonSSLMessage(url); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |