blob: a24e43bffca5e53d325315acdf527e0917141239 (
plain)
1
2
3
4
5
6
7
8
|
(ns origin-check)
(defn with-origin-check
"Middleware to validate that state-changing URL access
originated from a page in the local domain."
[handler]
(fn [request]
(handler request)))
|