Opened 20 years ago
Closed 20 years ago
#3554 closed defect (bug) (fixed)
xmlrpc.php calls undefined sanitize_file() function
| Reported by: | dougal | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | XML-RPC | Version: | 2.1 |
| Severity: | normal | Keywords: | xmlrpc, formatting |
| Cc: | Focuses: |
Description
The sanitize_file() function was proposed in ticket #3382, and it appears to exist in WPMU, but not in the main WP trunk. However, the current revision of xmlrpc.php (r4667) attempts to call this function in the mw_newMediaObject() method.
This will cause the failure of attachment uploads via clients using XML-RPC.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [4710]) sanitize_file_name(). fixes #3382 #3554