File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Servers/IIS/AspNetCoreModuleV2/AspNetCore Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ ASPNET_CORE_GLOBAL_MODULE::OnGlobalConfigurationChange(
8585
8686 LOG_INFOF (L" ASPNET_CORE_GLOBAL_MODULE::OnGlobalConfigurationChange '%ls'" , pwszChangePath);
8787
88- // Test for an error.
89- if ( nullptr != pwszChangePath &&
90- _wcsicmp (pwszChangePath, L" MACHINE/WEBROOT" ) > 0 &&
88+ if (pwszChangePath != nullptr && pwszChangePath[ 0 ] != L ' \0 ' &&
89+ _wcsicmp (pwszChangePath, L" MACHINE " ) != 0 &&
90+ _wcsicmp (pwszChangePath, L" MACHINE/WEBROOT" ) != 0 &&
9191 // Configuration change recycling behavior can be turned off via setting disallowRotationOnConfigChange=true on the handler settings section.
9292 // We need this duplicate setting because the global module is unable to read the app settings disallowRotationOnConfigChange value.
9393 m_pApplicationManager && m_pApplicationManager->ShouldRecycleOnConfigChange ())
You can’t perform that action at this time.
0 commit comments