Opened 13 years ago
Closed 13 years ago
#18013 closed defect (bug) (fixed)
Site search improvements
Reported by: | ryan | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Network Admin | Keywords: | |
Focuses: | multisite | Cc: |
Description
Search for wp-admin/network/sites.php treats 2011.foo as an IP address. The IPv4 address regex should be more specific.
Searching for numeric domains/paths is not possible since they are treated as a blog ID. A simple way around this is to not do a blog ID search if a wildcard is present. 2011 = blog id and 2011* = domain/path.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
The filter extension is enabled by default from PHP 5.2.0, the new WordPress 3.2 release states that 5.2.4 is now a requirement - why not use filter_var to validate the IP? Or is there a known issue with it?