php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58154 Most paths are not canonicalized
Submitted: 2008-04-14 10:55 UTC Modified: 2008-06-03 20:38 UTC
From: peter dot bex at solide-ict dot nl Assigned:
Status: Closed Package: svn (PECL)
PHP Version: HEAD CVS-2008-04-14 (dev) OS: Any
Private report: No CVE-ID: None
 [2008-04-14 10:55 UTC] peter dot bex at solide-ict dot nl
Description:
------------
The svn library dies with an abort() (ie, you get an "Internal Server Error") on non-canonical pathnames.  This is an error which should be handled by treating all paths with svn_path_canonicalize before calling any svn function.

Affected functions are repos_create, svn_add, svn_checkout and probably more.

Reproduce code:
---------------
repos_create('/foo/bar/');

svn_add('/foo/./bar');

etc

Expected result:
----------------
No error, or at least a clean PHP error instead of hard abort on the C language level.

Actual result:
--------------
"Internal Server error", PHP aborts.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-03 20:38 UTC] scottmac@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 06:01:26 2019 UTC