[#14755] FTP backend unable to open/download file
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@uni-hohenheim.de
Created 2017-12-21 (668 days ago)
Due
Updated 2017-12-21 (668 days ago)
Assigned
Resolved
Milestone
Patch Yes

Comments
philipp.faeustlin@uni-hohenheim.de 2017-12-21 15:24:07
The following error is logged:
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.