Allow input of base45 decoder to also contain lower-case letters

master
Daniel Borchmann 1 year ago
parent 0edfe4406c
commit f52f48273a
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 4
      site-lisp/db-utils.el

@ -518,7 +518,9 @@ Does not replace CRLF with CRCRLF, and so on."
(when (= 1 (% (length str) 3))
(user-error "Input string has invalid length for base45 decoding; must be 0 or 2 modulo 3"))
(let* ((list-of-blocks (->> str
(let* ((str (s-upcase str))
(list-of-blocks (->> str
db/base45--string-to-bytes
(-partition-all 3)))

Loading…
Cancel
Save