$cache_path file name

#1
[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?

#2
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.