Repository navigation
Conversation
Block insecure remote protocols when loading resources via FileUtil.URL by allowing only https, file, and jar URLs.\n\nAlso add test coverage to verify HTTP URLs are rejected and update URL test to use HTTPS. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Keep HTTP URL loading disabled by default in FileUtil, but allow explicit re-enable via the system property quickfixj.fileutil.url.allowHttp=true.\n\nAdd tests verifying default rejection and opt-in acceptance using a local HTTP server. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1383 +/- ##
============================================
+ Coverage 71.73% 71.78% +0.04%
- Complexity 2306 2315 +9
============================================
Files 162 162
Lines 9106 9115 +9
Branches 1193 1198 +5
============================================
+ Hits 6532 6543 +11
+ Misses 2120 2119 -1
+ Partials 454 453 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@copilot please improve coverage, see #1383 (comment) |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Added deterministic tests for allowed |
|
@copilot |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Added a deterministic HTTPS allowlist-path test and removed the unreachable null-protocol branch. All 11 |
Summary
Validation
Fixes #1246