Skip to content

fix: Add more null checks to Asp.NET Core 6+ browser instrumentation logic#3070

Merged
tippmar-nr merged 2 commits intomainfrom
fix/aspnetcore6plus-fortification
Mar 31, 2025
Merged

fix: Add more null checks to Asp.NET Core 6+ browser instrumentation logic#3070
tippmar-nr merged 2 commits intomainfrom
fix/aspnetcore6plus-fortification

Conversation

@tippmar-nr
Copy link
Copy Markdown
Member

Adds additional null checking in Asp.NET Core 6+ browser instrumentation to prevent null reference exceptions.

Fixes #3069

@tippmar-nr tippmar-nr requested a review from a team as a code owner March 31, 2025 17:09
nrcventura
nrcventura previously approved these changes Mar 31, 2025
@tippmar-nr tippmar-nr merged commit 5f5cf12 into main Mar 31, 2025
96 checks passed
@tippmar-nr tippmar-nr deleted the fix/aspnetcore6plus-fortification branch March 31, 2025 19:18
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.22%. Comparing base (ee04d25) to head (666922b).
⚠️ Report is 117 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3070      +/-   ##
==========================================
+ Coverage   82.18%   82.22%   +0.03%     
==========================================
  Files         477      477              
  Lines       30627    30627              
  Branches     3426     3426              
==========================================
+ Hits        25171    25182      +11     
+ Misses       4656     4644      -12     
- Partials      800      801       +1     
Flag Coverage Δ
Agent 83.27% <ø> (+0.03%) ⬆️
Profiler 72.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unhandled exception in ASP.NET Core 6+ Browser Instrumentation

3 participants