Issues

ZF-3830: Zend_Translate_Adapter_Csv ignores include_path

Issue Type: Improvement Created: 2008-08-02T04:48:17.000+0000 Last Updated: 2008-08-27T12:55:11.000+0000 Status: Resolved Fix version(s): - 1.6.1 (15/Sep/08)

Reporter: Igor Petrovich (panza) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate

Related issues: Attachments:

Description

At the moment _loadTranslationData ignores the include_path:

protected function _loadTranslationData($filename, $locale, array $options = array()) { /* ....................*/ $this->_file = @fopen($filename, 'rb'); /* ....................*/ }

May be change it to:

protected function _loadTranslationData($filename, $locale, array $options = array()) { /* ....................*/ $this->_file = @fopen($filename, 'rb', true); /* ....................*/ }

Comments

Posted by Thomas Weidner (thomas) on 2008-08-02T05:06:33.000+0000

What would be the benefit of adding the include path to the search algorithm ? I see a possible security risk with that...

Posted by Thomas Weidner (thomas) on 2008-08-27T12:55:11.000+0000

No response... closed due to security reasons.

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