subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Reser <...@reser.org>
Subject Re: upgrade to subversion 1.8.5 suspected bug
Date Wed, 22 Jan 2014 01:38:11 GMT
On 1/20/14, 9:04 PM, Austin Mico wrote:
> If you have this code below which can be viewed exactly like this on browser on
> version 1.8.4
> 
> <?php
> 
> // Define path to application directory
> defined('APPLICATION_PATH')
>     || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
> 
> // Define application environment
> defined('APPLICATION_ENV')
>     || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV')
: 'production'));
> 
> // Ensure library/ is on include_path
> set_include_path(implode(PATH_SEPARATOR, array(
>     realpath(APPLICATION_PATH . '/../library'),
>     get_include_path(),
> )));
> 
> /** Zend_Application */
> require_once 'Zend/Application.php';
> 
> // Create application, bootstrap, and run
> $application = new Zend_Application(
>     APPLICATION_ENV,
>     APPLICATION_PATH . '/configs/application.ini'
> );
> $application->bootstrap()
>             ->run();
> 
> 
> Here is the the source code viewed on browser after installing 1.8.5-1.
> 
> bootstrap() ->run();

This is a side effect of the change to setting the filename entry in the
request record with 1.8.5.  See the 2nd yellow box here:
http://subversion.apache.org/docs/release-notes/1.8.html#mod_dav_svn-fsmap

I'd guess you have some sort of handler or filter that's messing with php files.

So post your full httpd conf and I can probably point you at what you have
configured wrong.


Mime
View raw message