nette/nette — Issue #496: php is_file(): File name is longer than the maximum allowed path length on this platform (4096) in BlueScreen on Nette\Utils\NeonException
Author: Edke
Created: 2012-01-28 12:14:59+00:00
State: open

I'm getting Exception when Nette\Utils\NeonException is being thrown while decoding neon file longer than 4096 bytes on line:
https://github.com/nette/nette/blob/master/Nette/Diagnostics/BlueScreen.php#L78

There's is_file test, but $file is not filename, but in this case (NeonException) whole file content.

Looked into is_file(), didn't find if there is possibility to raise path length Maybe test before for very long $file or skip test in case of NeonException where content is expected and not filename.