Maintain repeated credential parameters

This commit is contained in:
Cooldude2606 committed 2026-07-29 22:56:19 +01:00
1 parent feb0e46aab
commit 417ee87422
2 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -256,7 +256,7 @@ describe("lib/helpers", function() {
it("should redact every occurrence of a repeated credential parameter", function() {
assert.equal(
lib.redactUrl("https://example.com/?token=first&token=second"),
"https://example.com/?token=REDACTED"
"https://example.com/?token=REDACTED&token=REDACTED"
);
});
it("should accept a URL object", function() {