Active
Project:
Broken Link
Version:
8.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2024 at 15:29 UTC
Updated:
27 Jun 2024 at 15:30 UTC
Jump to comment: Most recent
When redirect patterns are URL paths that contain slashes, hits to pages generate preg_match warnings. If there are a large number of redirects defined, this can cause the logs to fill up pretty quickly, especially when hackers keep trying to access xmlrpc.php or any number of other pages that don't exist.
Escape slashes in the pattern before calling preg_match. I have included a patch for this.
| Comment | File | Size | Author |
|---|---|---|---|
| broken_link_preg_match_warnings.patch | 562 bytes | cobblestone.consulting |
Comments
Comment #2
cobblestone.consulting commented