security: verify OC orders, fail-closed revoke, per-IP rate buckets, escaped guest email
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
1 parent
5a0a3decbe
commit
c9726f4029
6 files changed
+264
-104
No files matched your search
@@ -113,7 +113,7 @@ m.OC_PERSONAL_TOKEN = "test-token"
|
||||
|
||||
print("4. the webhook branch: the fix is present, and its silent-fallthrough shape is gone")
|
||||
src = (ROOT / "app" / "main.py").read_text()
|
||||
branch = src[src.index('if slug and "membership" in tier_name.lower()'):]
|
||||
branch = src[src.index('if "membership" in verified_tier.lower()'):]
|
||||
branch = branch[:branch.index("elif slug and first_payment")]
|
||||
check("fetch_account_by_slug(slug)" in branch,
|
||||
"the branch resolves an unknown payer by account email")
|
||||
|
||||
Reference in new issue
Block a user