Fixed problem with trailing slashes causing problems in handlers during directory...