diff options
author | Griffin Smith <grfn@gws.fyi> | 2022-05-28T18·17-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-05-28T18·30+0000 |
commit | 1fbed8e3178c2c2bc2f093374e0035a1fe567377 (patch) | |
tree | 72212b2e5ba42339d1ad8e1b77856d6d5d642e7e /web/panettone/src/packages.lisp | |
parent | b39ca017c0453c7420da64d062a2aa00e27d1fd3 (diff) |
fix(web/panettone): Don't add extra padding when already padded r/4182
Because of math being upsetting, we were adding 4 padding characters to an already-properly-padded base64 string, which broke tazjin. This also breaks this function out into panettone.util, and adds a test for it. Change-Id: I7bc8a440ad9d0917272dd9f2e341081ea14693da Reviewed-on: https://cl.tvl.fyi/c/depot/+/5782 Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'web/panettone/src/packages.lisp')
-rw-r--r-- | web/panettone/src/packages.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/panettone/src/packages.lisp b/web/panettone/src/packages.lisp index a63f4c766a1c..4ff4c070f087 100644 --- a/web/panettone/src/packages.lisp +++ b/web/panettone/src/packages.lisp @@ -1,7 +1,7 @@ (defpackage panettone.util (:use :cl :klatre) (:import-from :alexandria :when-let) - (:export :integer-env)) + (:export :integer-env :add-missing-base64-padding)) (defpackage panettone.css (:use :cl :lass) |