$cache_path file name - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: $cache_path file name (/showthread.php?tid=33932) |
$cache_path file name - El Forum - 09-13-2010 [eluser]skunkbad[/eluser] Is there a good reason why the cached file name has to be md5'd? Line 313 of Output.php: $cache_path .= md5($uri); I use caching for most of my pages, and it would make things a lot easier for me if the cached file just had a human readable name. Is this a security risk? $cache_path file name - El Forum - 09-13-2010 [eluser]skunkbad[/eluser] After thinking about it, I realize why $uri has to be md5'd. If it were not, fopen wouldn't be able to open it. Wish there was a good way to identify one of the files by filename. |