We’ve found 88 issues

#2

Allow custom options to wrap-file

I ran into trouble with a web app where index.md was served as an index file. I discovered two things. First, the options for file-response are hard-coded into wrap-file. Second, find-index-file accepts ...

#72

wrap-reload Not Reloading Files

I am wrapping my response handler with wrap-reload but when I change one of my route files it does not reload the code as a result of it. Not sure if this is an issue with ns-tracker or wrap-reload. @weavejester ...

  • Opened by jeregrine May 28, 2012
  • 2 comments
#82

*read-eval* false?

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 ...

  • Opened by txrev319 Oct 31, 2013
  • 2 comments
#83

Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, compiling:(ring/middleware/multipart_params.clj:39:5)

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) ...

#28

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 ...

  • Opened by ghoseb Aug 19, 2011
  • 3 comments
#47

Add a few type hints to avoid reflection

I have added a couple of type hints to ring.servlet & ring.core to fix reflection warnings. All tests pass.

  • Opened by ghoseb Dec 30, 2011
#81

The middleware wrap-head makes Content-Length always be 0

Because it sets :body to nil, and :body is used to set Content-Length.

  • Opened by aviflax Jun 24, 2013
  • 4 comments
#78

Automatic code reloading is one step behind

In wrap-reload after the new code is loaded, the old handler is still used to serve the current request meaning that to see any code changes you have to refresh the page twice which is seriously annoying. ...

#71

wrap-file is better to be used with wrap-content-type

Wrap-file without wrap-content-type makes IE9 to ignore css files, because their content type is not set. What about making wrap-file to use wrap-content-file or at least adding the warning to wrap-file ...

#23

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 ...