Fix cache behaviour on uncaught exceptions.
authorAlberto Bertogli <albertogli@telpin.com.ar>
local dateMon, 09 Jan 2006 05:58:01
dateMon, 09 Jan 2006 05:58:01
hash20060109055801-d5d94-b8e126e3d1250d04d155a2831654f6c497f367d7
Fix cache behaviour on uncaught exceptions.

This patch make darcsweb cancel the cache when there is an uncaught exception,
avoiding leaving dot-files around the cache directory.

Also minimize DoS by not taking into account unused form parameters, and make
the hash independant of the position. This doesn't eliminate all the
opportunities for DoS, but reduces them significatively.
1 file(s) changed:
darcsweb.cgi +15 -1