ring-headers
ring-headers copied to clipboard
Ring middleware for common response headers
In some environments, a request may be forwarded through multiple trusted proxies before it reaches the ring server. This commit adds a proxy-count option to configure how far from the...
If using ring defaults with: :absolute-redirects - Any redirects to relative URLs will be turned into redirects to absolute URLs, to better conform to the HTTP spec. set to true,...
Using a header such as `{"content-type" ["text/plain" "text/html"]}` in the response will result in the following exception: ``` [clojure.core$re_matcher invokeStatic core.clj 4667] [clojure.core$re_find invokeStatic core.clj 4716] [clojure.core$re_find invoke core.clj 4716]...
[CVE-2017-20189](https://nvd.nist.gov/vuln/detail/CVE-2017-20189) is a critical security vulnerability affecting versions of Clojure prior to `1.9.0`. Can we bump this project's dependency to `1.9.0` and cut a new release?
ring/ring-defaults 0.3.4 changed the default value for absolute URIs in `Location` headers in https://github.com/ring-clojure/ring-defaults/commit/5daefefd76d2655a474253d3b0cd853e136c3711. This PR changes the comment on the actual middleware that still described absolute URIs as mandatory.