Skip to content
Permalink
Browse files

Added DocBlock

  • Loading branch information...
davidsteinsland committed Feb 15, 2015
1 parent 5fd7396 commit 960ddd0eb89e2cc139d8b8865ce93d0fd0546533
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/Cake/Test/Case/Network/CakeResponseTest.php
@@ -1178,6 +1178,12 @@ public function testFileWithPathTraversal() {
$response->file('my/../cat.gif');
}
/**
* Although unlikely, file's may contain dots in their filenames.
* This should be allowed, as long as the dots doesn't specify a path (../ or ..\)
*
* @return void
*/
public function testFileWithDotsInFilename() {
$ok = false;
$file = 'my/Some..cat.gif';

0 comments on commit 960ddd0

Please sign in to comment.
You can’t perform that action at this time.