Skip to content

Commit eca2462

Browse files
committed
Fix some more formatting with cljfmt
1 parent 15563cc commit eca2462

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ring-core/src/ring/middleware/session/cookie.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
[key ^String string options]
8989
(let [[data mac] (.split string "--")]
9090
(when-let [data (try (codec/base64-decode data)
91-
(catch IllegalArgumentException _ nil))]
91+
(catch IllegalArgumentException _ nil))]
9292
(when (crypto/eq? mac (hmac key data))
9393
(deserialize (decrypt key data) options)))))
9494

ring-core/src/ring/util/response.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
(defn- safely-find-file [^String path opts]
119119
(if-let [^String root (:root opts)]
120120
(when (or (safe-path? root path)
121-
(and (:allow-symlinks? opts) (not (directory-transversal? path))))
121+
(and (:allow-symlinks? opts) (not (directory-transversal? path))))
122122
(File. root path))
123123
(File. path)))
124124

0 commit comments

Comments
 (0)