Skip to content

Commit 01e37fa

Browse files
author
davidebbo
committed
Make the host id lower case to match SDK requirements
1 parent aefb9f6 commit 01e37fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebJobs.Script.WebHost/App_Start/AutofacBootstrap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ internal static void Initialize(ContainerBuilder builder)
4848
var section = (MachineKeySection)ConfigurationManager.GetSection("system.web/machineKey");
4949
if (section.Decryption != "Auto" && section.ValidationKey.Length >= 32)
5050
{
51-
scriptHostConfig.HostConfig.HostId = section.ValidationKey.Substring(0, 32);
51+
scriptHostConfig.HostConfig.HostId = section.ValidationKey.Substring(0, 32).ToLowerInvariant();
5252
}
5353

5454
WebScriptHostManager scriptHostManager = new WebScriptHostManager(scriptHostConfig);

0 commit comments

Comments
 (0)