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 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 ...
not idiomatic, but ring is executed by every request and response.
A take on parsing the header values in a request, as discussed here: http://groups.google.com/group/ring-clojure/t/37abefdc99127229
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 ...
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" ...
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 ...
Set character encoding for response according to 'charset' field of 'Content-Type' header
Hello again! This is fixed fix for my last pull request. Hope I'm doing this right. Regards, Nick.
Set default character encoding for response to UTF-8
Hello! I recently started to develop a web-application using ring and jetty and faced a problem with non-english content: letters in server response were substituted for question marks. Setting "character-encoding" ...