cakephp2-php8/lib/Cake
ndm2 87d86aaed9 Fix/tighten Folder::inPath() checks.
The current checks are way too relaxed, and are more like testing
for a substring, which makes it easy for invalid paths to slip
trough, for example `/foo/var/www` is falsely tested to reside in
`/var/www`.

Passing an empty path never worked properly, it was triggering a
warning, didn't worked on Windows, and the behavior that the current
top level directory would be assumed for empty paths wasn't
documented.

Similar is true for relative paths. While they did match at one point,
this was incorrect behavior, and matching actual path fragments seems
out of scope for this method.

This change makes the `$path` argument required, requires it to be an
absolute path, and throws an exception in case a non-absolute path is
being passed.
2016-08-26 13:45:45 +02:00
..
Cache Document the ext/memcached version requirements. 2016-08-13 19:38:31 -04:00
Config Re-add the Equifax Secure Certificate Authority 2016-04-13 12:27:59 +02:00
Configure Expand path before is_file check 2016-02-05 11:11:28 +01:00
Console TestShell support --coverage-text option 2016-08-08 20:13:40 +09:00
Controller Store user data in memory on login for stateless auth adapters 2016-07-06 00:25:46 +02:00
Core Merge branch 'memory-fix' into 2.8. 2015-11-19 21:41:07 -05:00
Error Fix CS error 2016-07-14 05:50:37 +02:00
Event Use more specific datatypes in PHPDoc 2016-01-28 23:10:51 +02:00
I18n fixes #9064 2016-07-01 14:46:27 +03:00
Log Merge pull request #8470 from ravage84/patch-4 2016-03-15 21:17:55 -04:00
Model Fixed typo 2016-07-27 20:27:15 +02:00
Network Fix CS 2016-08-21 20:31:45 +02:00
Routing Do not mix void with other return types 2015-10-10 15:49:00 +02:00
Test Fix/tighten Folder::inPath() checks. 2016-08-26 13:45:45 +02:00
TestSuite Remove whitespace. 2016-04-19 15:27:30 -04:00
Utility Fix/tighten Folder::inPath() checks. 2016-08-26 13:45:45 +02:00
View Removed bug fix for Helper::_confirm to keep the code compatible 2016-08-21 17:09:43 +02:00
basics.php Various improvments to the CakePH Plib files 2015-09-25 17:11:20 +02:00
bootstrap.php Bootstrap Configure after the mb_* shims have been defined. 2015-07-29 22:01:27 -04:00
LICENSE.txt Bump copyright year in license 2015-01-12 15:18:04 -05:00
VERSION.txt Update version number to 2.8.6 2016-08-02 22:15:04 -04:00