[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: upgrade to subversion 1.8.5 suspected bug

From: Ben Reser <ben_at_reser.org>
Date: Tue, 21 Jan 2014 17:38:11 -0800

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.
Received on 2014-01-22 02:38:45 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.