FS#41312 - [roundcubemail] 1.0.2-2 breaks Apache-PHP setups
Attached to Project:
Community Packages
Opened by Sebastiaan Lokhorst (lonaowna) - Wednesday, 23 July 2014, 20:06 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 24 July 2014, 11:58 GMT
Opened by Sebastiaan Lokhorst (lonaowna) - Wednesday, 23 July 2014, 20:06 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 24 July 2014, 11:58 GMT
|
Details
The /etc/php/conf.d/roundcubemail.ini that was added in
1.0.2-2 breaks all Apache-PHP webservers as it sets
open_basedir to ":/etc/webapps/roundcubemail:...." and
therefore PHP cannot open anything outside of those
directories. The "${open_basedir}" at the beginning of this
line is not respected so open_basedir is completely
replaced.
Besides this I think this is a very bad way of setting this variable. Setting in apache.conf as was done before is superior in my opinion, as it is more explicit. It is also the way it is done for all other webapp packages. (php*admin, owncloud, etc) |
This task depends upon
Closed by Sergej Pupykin (sergej)
Thursday, 24 July 2014, 11:58 GMT
Reason for closing: Fixed
Additional comments about closing: reverted
Thursday, 24 July 2014, 11:58 GMT
Reason for closing: Fixed
Additional comments about closing: reverted
Thanks!
Andrzej