fix AppHandler trailing-slash handling, refs #32