ring icon indicating copy to clipboard operation
ring copied to clipboard

Clojure HTTP server abstraction

Results 61 ring issues
Sort by recently updated
recently updated
newest added

This is an issue where I'm not 100% sure what part of the stack is really responsible for the problem, so I'll just start here. We have an API using...

`print-string-secret-key-deprecation` now prints: ``` "WARNING: The secret key for the session cookie store should be a" "byte array.\nString secret keys have been deprecated." ``` It took some time to track...

SameSite=strict cookies are only sent for requests from a first-party context. SameSite=lax cookies are sent for first-party requests, as well as for top-level navigations. If you use only a single...

The proposal is to extend Ring's 1-arity handler contract to allow returning of a `java.util.concurrent.CompletionStage`-wrapped response map, as an alternative to just returning a response map. ```clojure (defn a-handler [request]...

The contract of Ring async handlers is to eventually either call respond or raise. The Concepts page doesn't go into that much detail but I infer there is no semantics...

Many modern Java Web Server (Netty, Undertow, Vert.x) have their own abstractions for Requests and Responses. Current ring-spec states that requests and responses as map-like structures. While this is awesome...

enhancement

... as defined by ring.middleware.cookies/wrap-cookies

https://clojure.atlassian.net/browse/CLJ-2463 The linked patch to clojure condenses the stack trace to the important line(s). It would be great to see something similar for ring. Important lines would be the cause...

I just spotted this stracktrace in our logs, as someone tried to mess with our servers: ``` org.apache.commons.fileupload.InvalidFileNameException: Invalid file name: DwldYyIuSimpleASP6qrV.asp\0.svg at org.apache.commons.fileupload.util.Streams.checkFileName(Streams.java:189) ~[acme-1.56.33-standalone.jar:na] at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl.getName(FileUploadBase.java:829) ~[acme-1.56.33-standalone.jar:na] at ring.middleware.multipart_params$parse_file_item.invokeStatic(multipart_params.clj:86)...

bug