diff --git a/src/notehub/storage.clj b/src/notehub/storage.clj index c6a6481..5ac4f0b 100644 --- a/src/notehub/storage.clj +++ b/src/notehub/storage.clj @@ -9,7 +9,7 @@ (defn sign "Returns the MD5 hash for the concatenation of all passed parameters" [& args] - (let [input (sreplace (apply str args) #"\r*" "")] + (let [input (sreplace (apply str args) #"\r+" "")] (do (.reset md5Instance) (.update md5Instance (.getBytes input)) (apply str