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 @@ -3087,30 +3087,6 @@ public virtual string GetServerSchema()
30873087 return GXUri . UriSchemeHttp ;
30883088 }
30893089 }
3090- private bool FrontEndHttps ( )
3091- {
3092- if ( CheckHeaderValue ( "Front-End-Https" , "on" ) || CheckHeaderValue ( "X-Forwarded-Proto" , "https" ) )
3093- {
3094- GXLogging . Debug ( Logger , "Front-End-Https header activated" ) ;
3095- return true ;
3096- }
3097- else
3098- {
3099- return false ;
3100- }
3101- }
3102- private bool CheckHeaderValue ( String headerName , String headerValue )
3103- {
3104- if ( _HttpContext != null )
3105- {
3106- string httpsHeader = _HttpContext . Request . Headers [ headerName ] ;
3107- if ( ! string . IsNullOrEmpty ( httpsHeader ) && httpsHeader . Equals ( headerValue , StringComparison . OrdinalIgnoreCase ) )
3108- {
3109- return true ;
3110- }
3111- }
3112- return false ;
3113- }
31143090 public virtual string GetScriptPath ( )
31153091 {
31163092 try
You can’t perform that action at this time.
0 commit comments