Skip to content

feat: warn about unsafe CORS - #12773

Merged
SchrodingersGat merged 5 commits into
inventree:masterfrom
matmair:feat--warn-about-unsafe-CORS
Sep 3, 2026
Merged

SchrodingersGat merged 5 commits into
inventree:masterfrom
matmair:feat--warn-about-unsafe-CORS

Conversation

@matmair

@matmair matmair commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

CORS allow all is a low-severity security issues that can be helpful for attackers that operate in the user browser domain. Not important enough to stop operations but we should warn about it.

@matmair matmair added this to the 1.6.0 milestone Sep 2, 2026
@matmair matmair self-assigned this Sep 2, 2026
@matmair matmair added enhancement This is an suggested enhancement or new feature api Relates to the API security Relates to a security issue labels Sep 2, 2026
@netlify

netlify Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit f9b67cc
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a98cd98e1aaa6000851a504

@matmair
matmair marked this pull request as ready for review September 2, 2026 23:48
@codecov

codecov Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.17%. Comparing base (9f8dfda) to head (f9b67cc).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12773      +/-   ##
==========================================
+ Coverage   87.16%   87.17%   +0.01%     
==========================================
  Files        1483     1483              
  Lines      100464   100465       +1     
  Branches    11519    11519              
==========================================
+ Hits        87565    87585      +20     
+ Misses      12834    12815      -19     
  Partials       65       65              
Flag Coverage Δ
backend 91.15% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.42% <ø> (ø)
Backend General 94.68% <ø> (ø)
Frontend 79.89% <ø> (+0.03%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit fa52aff into inventree:master Sep 3, 2026
46 checks passed
@SchrodingersGat
SchrodingersGat deleted the feat--warn-about-unsafe-CORS branch September 3, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API enhancement This is an suggested enhancement or new feature security Relates to a security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants