$cache_path file name

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?

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-2021 MyBB Group.