Here's a fix for the wrap-params issue
I played around with several variations of this, but in the end it seems best to just fall out to nil when it can't decode a parameter. I tried this by patching the jar in place on my project and ...
Fix for wrap-nested-params and multi-valued parameters without '[]'
I recently had to use a multiple select box on an HTML form, but didn't end the parameter name with "[]". wrap-params correctly transforms "foo=bar&foo=baz" into {"foo" ...
Fix for wrap-nested-params and multi-valued parameters without '[]'
(sorry about the previous pull request... I missed a commit somehow) I recently had to use a multiple select box on an HTML form, but didn't end the parameter name with "[]". wrap-params ...
A take on parsing the header values in a request, as discussed here: http://groups.google.com/group/ring-clojure/t/37abefdc99127229
not idiomatic, but ring is executed by every request and response.
Make Jetty SSL Connector respect :host option
In ring.adapter.jetty/run-jetty, the :host option is used for the non-SSL Connector, but not for the SSL Connector. This means that the SSL Connector binds to 0.0.0.0 even if :host is set, which is unexpected ...
wrap-session middleware doesn't url-decode the cookie before using it.
I faced a weird bug today wherein the browser was sending the cookie string back to the server after url-encoding it and wrap-session tried decrypting the cookie without decoding the encoded cookie. I ...
Make sure regexp is performed against a string.
Make sure regexp is performed against a string. This helps the rare case where keyword params already exist at this point.
I created an adapter for Twitter's Finagle RPC system. I'm new to clojure and I used this as a learning experience so some of the code may be a little rough. I'd love to hear any feedback ...