Issues

ZF-4317: Zend_File_Transfer_Adapter_Http->receive() add trailing DIRECTORY_SEPARATOR even when already in destination path

Issue Type: Improvement Created: 2008-09-17T06:45:25.000+0000 Last Updated: 2008-10-10T14:41:45.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Patrick Barroca (patbator) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

Related issues: Attachments:

Description

Line 88 : if (null !== ($destination = $this->getDestination($file))) { $directory = $destination . DIRECTORY_SEPARATOR; }

Can't we just add a trailing DIRECTORY_SEPARATOR when it's not already in $destination ?

Comments

Posted by Thomas Weidner (thomas) on 2008-09-19T14:29:52.000+0000

Changed with r11444.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts