<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>fix bug: sftp operations in VFS/ssh2.php do not work due to escapeshellarg</title> 
  <pubDate>Thu, 09 Apr 2026 17:31:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7301</link> 
  <atom:link rel="self" type="application/rss+xml" title="fix bug: sftp operations in VFS/ssh2.php do not work due to escapeshellarg" href="https://bugs.horde.org/ticket/7301/rss" /> 
  <description>fix bug: sftp operations in VFS/ssh2.php do not work due to escapeshellarg</description> 
 
   
   
  <item> 
   <title>The filename argument for the ssh2_sftp_* functions should n</title> 
   <description>The filename argument for the ssh2_sftp_* functions should not be escapeshellarg&#039;ed, white spaces and other special characters are already handled fine by these functions. This is opposed to the ssh_scp_* functions that do require them.



The escapeshellarg was introduced when trying to fix a problem where the ssh_scp_* functions did not use escapeshellarg (bug #6756). Chuck Hagenbuch must have guessed that the ssh2_sftp_* functions required them too, but neither he nor the reporter of the bug seemed to have actually tested any codepaths that uses the ssh2_sftp_* functions.



Attached is a patch that reverts the code for the ssh_sftp_* functions to the state before the &#039;fix&#039;.



I&#039;m CC&#039;ing the people involved in bug #6756 to get their statement.</description> 
   <pubDate>Mon, 08 Sep 2008 08:42:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7301#t48759</link> 
  </item> 
   
  <item> 
   <title>Since I&#039;m not able to CC anyone using this bugtracker, I&#039;m (</title> 
   <description>Since I&#039;m not able to CC anyone using this bugtracker, I&#039;m (ab)using the Watch feature in an attempt to get directly in touch with the people involved in

[#6756] ssh2_scp_recv fails if pathnames contain special characters



Chuck Hagenbuch and &quot;herde&quot;, please see

Ticket URL: http://bugs.horde.org/ticket/7301



Thanks,

Simon Holm Thøgersen</description> 
   <pubDate>Mon, 08 Sep 2008 12:56:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7301#t48764</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/VFS/lib/VFS/ssh2.php?r1=1.10&amp;r2=1.11&amp;ty=u</description> 
   <pubDate>Mon, 08 Sep 2008 16:07:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7301#t48778</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
