File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
dotnet/src/dotnetframework/GxClasses/Core Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -3088,30 +3088,6 @@ public virtual string GetServerSchema()
30883088 return GXUri . UriSchemeHttp ;
30893089 }
30903090 }
3091- private bool FrontEndHttps ( )
3092- {
3093- if ( CheckHeaderValue ( "Front-End-Https" , "on" ) || CheckHeaderValue ( "X-Forwarded-Proto" , "https" ) )
3094- {
3095- GXLogging . Debug ( Logger , "Front-End-Https header activated" ) ;
3096- return true ;
3097- }
3098- else
3099- {
3100- return false ;
3101- }
3102- }
3103- private bool CheckHeaderValue ( String headerName , String headerValue )
3104- {
3105- if ( _HttpContext != null )
3106- {
3107- string httpsHeader = _HttpContext . Request . Headers [ headerName ] ;
3108- if ( ! string . IsNullOrEmpty ( httpsHeader ) && httpsHeader . Equals ( headerValue , StringComparison . OrdinalIgnoreCase ) )
3109- {
3110- return true ;
3111- }
3112- }
3113- return false ;
3114- }
31153091 public virtual string GetScriptPath ( )
31163092 {
31173093 try
You can’t perform that action at this time.
0 commit comments