hack-middleware-cleanpath: Applies some basic redirect rules to get cleaner paths. (deprecated)

[ bsd3, deprecated, library, web ] [ Propose Tags ]

Forces request to have a trailing slash (unless there is a file extension) and ensures there are no doubled slashes. Takes the idea from Django.

Versions [RSS] [faq] 0.0.0, 0.0.1,
Dependencies base (>=3 && <5), bytestring (>=, hack (>=2009.5.19), split (>=0.1.1), web-encodings [details]
License BSD-3-Clause
Author Michael Snoyman <michael@snoyman.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category Web
Home page http://github.com/snoyberg/hack-middleware-cleanpath/tree/master
Uploaded by MichaelSnoyman at 2012-01-19T11:46:33Z
Distributions NixOS:
Downloads 2255 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-25 [all 8 reports]


  • Hack
    • Middleware
      • Hack.Middleware.CleanPath


Maintainer's Corner

For package maintainers and hackage trustees