ZF-12309: Zend_Service_Rackspace_Files prepends '/' to filename

Issue Type: Bug Created: 2012-06-29T13:15:30.000+0000 Last Updated: 2012-11-09T07:54:57.000+0000 Status: Resolved Fix version(s): Reporter: Matt Kynaston ( Assignee: Rob Allen (rob) Tags: - After1.12.0

Related issues: - ZF-12327

Attachments: - Zend_Service_Rackspace_Files.diff


When creating and downloading files the leading '/' is not stripped from the path. This means that you cannot download files that have been uploaded to the root of the container via the control panel (they have no leading '/').


Posted by Matt Kynx (kynx) on 2012-06-29T14:05:00.000+0000

I've got a patch for this. Just waiting for CLA to get approved.

Posted by Matt Kynx (kynx) on 2012-06-30T10:10:07.000+0000

Actually this isn't exactly a bug. I'm working on a stream wrapper for cloudfiles, and that was sending the path with a forward slash prepended.

However the attached stops stupids like me breaking things and the code a little tidier (imho ;)

Posted by Matt Kynx (kynx) on 2012-07-08T09:07:51.000+0000

ZF-12327 has a more complete patch that includes validation of the container and object names.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.