test(gitea-curl): pin exact RC #11721 short-flag equals forms #36

Merged
agent-dev-a merged 1 commits from fix/gitea-curl-11721-short-forms into main 2026-06-14 15:15:56 +00:00
+3
View File
@@ -97,6 +97,9 @@ REJECT_CASES = [
('-H "Authorization:token"', ["-H", "Authorization:token"]),
# exact #11721 form verified by Researcher on b65272e
('-H=Authorization: token SECRET', ["-H=Authorization: token SECRET"]),
# additional short-flag equals-attached forms found in RC #11721
('-H=Authorization: token', ["-H=Authorization: token"]),
('-H=Authorization=Bearer xyz', ["-H=Authorization=Bearer xyz"]),
]