From: Gianluca S. <gi...@gm...> - 2011-04-30 07:41:20
|
On Wed, Apr 20, 2011 at 11:20 PM, <gi...@ma...> wrote: > - Log ----------------------------------------------------------------- > commit 6bcc29a1f24852fd43a1bfbabbf70092ba47bf23 > Author: Robert Munteanu <rob...@gm...> > Date: Thu Apr 21 00:14:13 2011 +0300 > > Fix #12794 : Java Exception when the Issue has an attached file (using mantis plugin in Hudson/Jenkins) > > Do not use DIRECTORY_SEPARATOR to build paths which will be converted > to URLs. The main usage of DIRECTORY_SEPARATOR is to convert paths > which are received from the operating system, which is not the case > when determining the application's install location. > > The slash is a valid separator on all PHP platforms [1], therefore > we use that. > > [1]: http://php.net/manual/en/function.basename.php > Is anyone willing to work on nuking ALL instances of DIRECTORY_SEPARATOR? I'll gladly apply patches for this. -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitter.com/giallu |