Session wrapper does not update the cookie after session expiry date is changed.
(ns ring-session-test.core) (use 'ring.middleware.session) (defn handler [{session :session uri :uri}] (let [res {:status 200 :headers {"Content-Type" "text/plain"} ...
The middleware wrap-head makes Content-Length always be 0
Because it sets :body to nil, and :body is used to set Content-Length.
In ring-core 1.2.1, I'm getting this explosion: Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, compiling:(ring/middleware/multipart_params.clj:39:5) ...
At https://github.com/mmcgrana/ring/blob/master/ring-core/src/ring/middleware/session/cookie.clj#L92 should there be a (binding [read-eval false] ) ? Otherwise, it seems -- suppose some other vulnerability ...
wrap-keyword-params doesn't work with wrap-multipart-params
It seems that the keyword-params middleware doesn't accept a map with keys that are keywords instead of strings. Multipart-params produces such a map on file upload. The input's name is passed ...
Allow headers map/function for wrap-file?
Setting headers, particularly cache-control, can be very important when serving static files. This is especially true in an environment like Heroku, where you're relying on a server-side HTTP cache ...
NPE when attempting to use cookie session store
In trying to use the CookieStore session store using non-default attributes, I encountered the following stack trace: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: ...
Add :max-threads option to the Jetty adapter
In some cloud environments, such as Heroku, the number of threads available to a process is limited. The Jetty adapter should therefore support a :max-threads option for limiting the number of threads ...
Upgrade clj-stacktrace to 0.2.4
The ring-devel leiningen project includes a dependency on clj-stacktrace 0.2.2. Unfortunately, that version of clj-stacktrace is not compatible with recent versions of swank-closure (1.3.4 or newer). The ...
Cookie parsing needs to deal with nil return value from url-decode
The decision to allow url-decode to return nil for improperly encoded strings (instead of throwing an exception) now means that cookie handling needs to accomodate this newly-endorsed return value. Frankly, ...