Bar icon dropdown: barMenu on plugin windows (API v95) #13
2 changed files with 2 additions and 2 deletions
Web panel tests: back to invariant globalization, add lone-surrogate check
Matches the shipped engine; the surrogate host discriminates the IdnHost try/catch under invariant mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit
0d5b9700db
|
|
@ -72,6 +72,7 @@ internal static class Program
|
|||
Check(!WebPanelUrlPolicy.IsAllowed(u, Dw), "rejects " + u);
|
||||
Check(!WebPanelUrlPolicy.IsAllowed("https://www.acdreamweave.com/" + new string('a', 5000), Dw), "over MaxUrlBytes rejected");
|
||||
Check(!WebPanelUrlPolicy.IsAllowed("https://www.acdreamweave.c\u2100/", Dw), "invalid IDN char fails closed (no throw)");
|
||||
Check(!WebPanelUrlPolicy.IsAllowed("https://www.acdreamweave.c" + "\uD800" + "/", Dw), "lone-surrogate host fails closed (no throw)");
|
||||
}
|
||||
|
||||
private static void Allowlist_CaseIdnTrailingDot()
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@
|
|||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<!-- ICU on: invariant mode skips IDN validation and hides Uri.IdnHost throwing. -->
|
||||
<InvariantGlobalization>false</InvariantGlobalization>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<RootNamespace>WebPanelTests</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue