Commit a5b4a6a
fix: update URL regular expression for improved accuracy
Modified the URL regular expression in the UrlFilter class to enhance its accuracy in matching valid URLs. The changes include adjustments to the port number matching logic, ensuring it correctly captures a wider range of valid port formats.
Log: Improved URL matching in UrlFilter
Influence:
1. Test URL filtering functionality with various URL formats
2. Verify that edge cases are handled correctly
3. Ensure no regressions in existing URL handling features
bug: https://pms.uniontech.com/bug-view-349651.html1 parent ef9c124 commit a5b4a6a
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
527 | | - | |
528 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| |||
0 commit comments