#26970 closed defect (bug) (duplicate)
Regex error in url_to_postid()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.9 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
When a rewrite rule contains a negative look-ahead (don't ask…), one of the regex used in url_to_postid() breaks.
The attached patch changes the delimiters to something that won't appear in a url.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
fix the actually problematic regex