ZF-1684: Tab inserted into temporary directory path if no path available in user's environment

Issue Type: Bug Created: 2007-07-05T19:55:25.000+0000 Last Updated: 2008-03-21T16:25:43.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Trevor Johns (tjohns) Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:


I stumbled upon this when skimming through the Zend_Cache code. I don't have anything that uses Zend_Cache and I don't have admin rights on my Windows workstation to unset system environment variables so I can't verify this, but I figured I'd bring it to somebody's attention.

In Zend_Cache_Backend::getTmpDir() at Line 178, if Windows is detected and if no temporary directory path is found after exhausting all the environment variables, '\temp' is returned (which would be 'emp'). I believe this should look like the return statement a few lines above on Line 172 ('\temp').

Feel free to mark this as invalid if this isn't really a bug. Most of my expertise here revolves around Zend_Gdata. :)


Posted by Darby Felton (darby) on 2007-07-19T16:18:17.000+0000

Assigning to [~fab] to initiate issue review.

Posted by Trevor Johns (tjohns) on 2007-11-02T14:45:32.000+0000

Confirmed as fixed in trunk (r6674).

Have you found an issue?

See the Overview section for more details.


© 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.