| Summary | FTP backend unable to open/download file |
| Queue | Gollem |
| Queue Version | 3.0.12 |
| Type | Bug |
| State | Unconfirmed |
| Priority | 1. Low |
| Owners | |
| Requester | philipp.faeustlin (at) uni-hohenheim (dot) de |
| Created | 12/21/2017 (2863 days ago) |
| Due | |
| Updated | 11/12/2024 (345 days ago) |
| Assigned | |
| Resolved | |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | Yes |
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ FTP backend unable to open/download file
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ Yes
New Attachment: Ftp.php.patch
HORDE [gollem] Unable to open VFS file. [pid 14348 on line 207 of
"/usr/share/pear/Horde/Vfs/Ftp.php"]
The source of this problem is when the password contains the "/"
character. If this happens the url passed to fopen will fail.
Urlencoding of the password will solve the issue. I have added a patch
for this.
To prevent further problems with special characters, it would probably
be wise to urlencode further parameters of the url, especially the
username which could contain @ for example.
I can't test this, therefor it is only a proposal.