Opened 17 years ago
Closed 17 years ago
#11788 closed enhancement (fixed)
barely sanitized strings are put straight in the database in ms-site.php
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Multisite | Version: | 3.0 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
there arguably are magic quotes, but it's freaky scary to read things such as:
$s = wp_specialchars( trim( $_GET[ 's' ] ) );
...
" AND ( {$wpdb->blogs}.domain LIKE '%{$s}%' OR {$wpdb->blogs}.path LIKE '%{$s}%' ) ";
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Should be fixed before 3.0 ships, IMO