High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
test: pin the dropped relative-path class with deeper shapes than three literals
Luigi Agosti07742a145012
diff --git a/internal/activity/url_sanitize_test.go b/internal/activity/url_sanitize_test.goindex 3ae84070..d5178e3c 100644--- a/internal/activity/url_sanitize_test.go+++ b/internal/activity/url_sanitize_test.go@@ -68,7 +68,7 @@ func TestBothRedactorsAgreeExceptWhereTheCapBites(t *testing.T) {}func TestActivityFeedDropsRelativePathsThatMerelyContainASchemeSeparator(t *testing.T) {- for _, raw := range []string{"/path://x", "./rel://x", "../up://x"} {+ for _, raw := range []string{"/path://x", "./rel://x", "../up://x", ".//x://y", "/a/b://c/d"} {if got := sanitizeActivityURL(raw); got != "" {t.Errorf("sanitizeActivityURL(%q) = %q, want %q; these used to be recorded verbatim because the validity guard was skipped on the Sanitize success path", raw, got, "")}