6.0.0-beta6
4/9/26

[#4652] VFS_sql breaks when trying to upload file to root folder
Summary VFS_sql breaks when trying to upload file to root folder
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester bklang (at) horde (dot) org
Created 11/12/06 (7088 days ago)
Due
Updated 11/13/06 (7087 days ago)
Assigned 11/13/06 (7087 days ago)
Resolved 11/13/06 (7087 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/13/2006 04:54:50 PM Jan Schneider State ⇒ Resolved
 
11/13/2006 04:48:57 PM Jan Schneider Deleted Original Message
 
11/13/2006 04:31:55 PM Ben Klang Comment #3
New Attachment: VFS_sql-upload-into-root-v2.patch Download
Reply to this comment
You're right, that is a much better solution.  Here is an updated 
patch which provides an override for isFolder()
11/13/2006 09:22:15 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Wouldn't it be better to overwrite isFolder() in VFS_sql and fix it 
once for all?
11/12/2006 04:34:51 PM Ben Klang Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ VFS_sql breaks when trying to upload file to root folder
Queue ⇒ Horde Framework Packages
New Attachment: VFS_sql-upload-into-root.patch
State ⇒ Unconfirmed
Reply to this comment
Due to the way VFS::isFolder() works, it will always fail when 
checking if '' (VFS_sql's notation for the root folder)is a folder.   
This patch allows files to be uploaded into /

Saved Queries