Skip to content

security(dci): reject non-ASCII bearer tokens with 401 (avoid auth 500s)#325

Draft
gonzalesedwin1123 wants to merge 5 commits into
19.0from
security-dci-bearer-token-ascii
Draft

security(dci): reject non-ASCII bearer tokens with 401 (avoid auth 500s)#325
gonzalesedwin1123 wants to merge 5 commits into
19.0from
security-dci-bearer-token-ascii

test(spp_dci_server): pin control-char bearer token as ordinary invalid

7ccff30
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 23, 2026 in 0s

75.20% (+0.92%) compared to 1caf794

View this Pull Request on Codecov

75.20% (+0.92%) compared to 1caf794

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.20%. Comparing base (1caf794) to head (7ccff30).
⚠️ Report is 3 commits behind head on 19.0.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0     #325      +/-   ##
==========================================
+ Coverage   74.28%   75.20%   +0.92%     
==========================================
  Files         372      173     -199     
  Lines       25385    12334   -13051     
==========================================
- Hits        18857     9276    -9581     
+ Misses       6528     3058    -3470     
Files with missing lines Coverage Δ
spp_dci_server/middleware/signature.py 91.72% <100.00%> (ø)

... and 318 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.