[Tickets #14755] FTP backend unable to open/download file

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Dec 21 15:24:07 UTC 2017


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14755
------------------------------------------------------------------------------
  Ticket           | 14755
  Erstellt Von     | philipp.faeustlin at uni-hohenheim.de
  Zusammenfassung  | FTP backend unable to open/download file
  Warteschlange    | Gollem
  Version          | 3.0.12
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


philipp.faeustlin at uni-hohenheim.de (2017-12-21 15:24) hat geschrieben:

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.




philipp.faeustlin at uni-hohenheim.de (2017-12-21 15:24) hat hochgeladen:  
Ftp.php.patch

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=Ftp.php.patch&ticket=14755&fn=%2FFtp.php.patch





More information about the bugs mailing list