starknet_transaction_prover: add CORS validation unit tests - #14048
starknet_transaction_prover: add CORS validation unit tests#14048avi-starkware wants to merge 1 commit into
Conversation
PR SummaryLow Risk Overview The new suite exercises Reviewed by Cursor Bugbot for commit c9610b9. Bugbot is set up for automated code reviews on this repo. Configure here. |
62bd425 to
e7ccb94
Compare
b5dba94 to
9636c86
Compare
e7ccb94 to
0523284
Compare
9636c86 to
20c98e9
Compare
0523284 to
3275e20
Compare
3275e20 to
63d5c0b
Compare
20c98e9 to
d437078
Compare
d437078 to
8342ce5
Compare
63d5c0b to
6141678
Compare
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
8342ce5 to
44f2584
Compare
6141678 to
266b559
Compare
44f2584 to
f05b07f
Compare
266b559 to
c572793
Compare
f05b07f to
44eccac
Compare
c572793 to
1709b33
Compare
1709b33 to
48213fb
Compare
44eccac to
31f18eb
Compare
31f18eb to
bef2115
Compare
bef2115 to
b5aa7f0
Compare
b5aa7f0 to
c86b17e
Compare
Covers build_cors_layer (empty/wildcard/allowlist branches), cors_mode labelling, and normalize_cors_allow_origins (scheme/host/userinfo/path/ query rejection, default-port stripping, deduplication of equivalent origins, and wildcard collapsing the rest of the list).
c86b17e to
c9610b9
Compare

Covers
build_cors_layer(empty/wildcard/allowlist branches),cors_modelabelling, and
normalize_cors_allow_origins(scheme/host/userinfo/path/queryrejection, default-port handling, deduplication of equivalent origins, and
wildcard collapsing the rest of the list).
Includes a
port_80_retained_on_httpscase:urlnormalizes away ascheme-default port at parse time, so
https://host:80is the input that tells acorrectly-scoped default-port rule apart from one that strips any
:80. Nothingcovered that before.