|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-06-03 20:38 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
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.