mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 10:32:40 +00:00
convert forbidden character in filename(Windows) with underline
This commit is contained in:
parent
59cef53ffe
commit
e157d8a7e6
2 changed files with 9 additions and 1 deletions
|
@ -305,6 +305,14 @@ class FileEngineTest extends CakeTestCase {
|
|||
|
||||
$result = Cache::clear(false, 'file_test');
|
||||
$this->assertTrue($result);
|
||||
|
||||
$result = Cache::write('domain.test.com:8080', 'here', 'file_test');
|
||||
$this->assertTrue($result);
|
||||
$this->assertTrue(file_exists(CACHE . 'cake_domain_test_com_8080'));
|
||||
|
||||
$result = Cache::write('command>dir|more', 'here', 'file_test');
|
||||
$this->assertTrue($result);
|
||||
$this->assertTrue(file_exists(CACHE . 'cake_command_dir_more'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue