Skip to content

Commit 52e07bd

Browse files
committed
Fix webserver info's supports_sni property on server 2012.
1 parent 281bda6 commit 52e07bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Microsoft.IIS.Administration.WebServer.Info/InfoHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static object ToJsonModel(IWebServerVersion versionProvider)
5252
var obj = new {
5353
name = "Microsoft Internet Information Services",
5454
id = WebServerId.CreateFromPath(ManagementUnit.Current.ApplicationHostConfigPath).Uuid,
55-
supports_sni = version != null && version > new Version(8, 0),
55+
supports_sni = version != null && version >= new Version(8, 0),
5656
status = Enum.GetName(typeof(Status), GetStatus()).ToLower(),
5757
version = GetVersion()
5858
};

0 commit comments

Comments
 (0)