Skip to content

Commit

Permalink
Make the host id lower case to match SDK requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebbo committed Feb 25, 2016
1 parent aefb9f6 commit 01e37fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebJobs.Script.WebHost/App_Start/AutofacBootstrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ internal static void Initialize(ContainerBuilder builder)
var section = (MachineKeySection)ConfigurationManager.GetSection("system.web/machineKey");
if (section.Decryption != "Auto" && section.ValidationKey.Length >= 32)
{
scriptHostConfig.HostConfig.HostId = section.ValidationKey.Substring(0, 32);
scriptHostConfig.HostConfig.HostId = section.ValidationKey.Substring(0, 32).ToLowerInvariant();
}

WebScriptHostManager scriptHostManager = new WebScriptHostManager(scriptHostConfig);
Expand Down

0 comments on commit 01e37fa

Please sign in to comment.