Opened 15 years ago
Closed 15 years ago
#19219 closed defect (bug) (invalid)
Wordpress Importer - Spaces in attachment_url causes "Empty Filename" error
| Reported by: | misternifty | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Import | Version: | 3.2.1 |
| Severity: | normal | Keywords: | reporter-feedback close |
| Cc: | Focuses: |
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
@
15 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
@
15 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Could you give a line number? I can only see two uses of
sprinf()and neither involve$url.