Commit 1ae39c2
committed
Address PR review feedback
- Fix comparison operators: Use >= instead of > for maxDepth and maxEncodingLevels
This correctly blocks URLs when they meet or exceed the threshold
- Replace empty() with ! for enabled check (cleaner intent)
- All tests still pass (312 tests, 926 assertions)
Addresses feedback from @ADmad and @Copilot in PR #7521 parent 56130d3 commit 1ae39c2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| |||
0 commit comments