Created
August 16, 2021 14:38
-
-
Save zdi-team/e3d06ce706c1dc8e214e26d0cb9a2700 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static bool IsAutodiscoverV2PreviewRequest(string path) { | |
ArgumentValidator.ThrowIfNull("path", path); | |
return path.EndsWith("/autodiscover.json", StringComparison.OrdinalIgnoreCase); | |
} | |
public static bool IsAutodiscoverV2Request(string path) { | |
ArgumentValidator.ThrowIfNull("path", path); | |
return RequestPathParser.IsAutodiscoverV2Version1Request(path) || RequestPathParser.IsAutodiscoverV2PreviewRequest(path); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment