Opened 14 years ago
Closed 14 years ago
#19219 closed defect (bug) (invalid)
Wordpress Importer - Spaces in attachment_url causes "Empty Filename" error
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.2.1 |
| Component: | Import | Keywords: | reporter-feedback close |
| Focuses: | Cc: |
Description
The fetch_remote_file() function uses the following line
$url = sprintf($url);
Since the space character %20 uses the percentage sign, the function malforms the $url output.
Change History (5)
#2
@
14 years ago
This actually resides in the wordpress-importer.php plugin on line 770. I'm not sure if this was the right place to post this.
#3
@
14 years ago
Yes this is the correct place to report it. Line 770 isn't in fetch_remote_file(). I think you must be using a modified, old or somehow different version of the plugin. The latest stable release (at time of writing) can be seen here.
Note: See
TracTickets for help on using
tickets.
Could you give a line number? I can only see two uses of
sprinf()and neither involve$url.