Return xml notice at /notice path.
[akkoma] / lib / pleroma / web / salmon / salmon.ex
index eadf0773b5f05e71fe740e8141adb79100a99671..4f6dfed65cd121484ec091f44ce4afb0394b263c 100644 (file)
@@ -60,7 +60,7 @@ defmodule Pleroma.Web.Salmon do
 
     [modulus, exponent] = magickey
     |> String.split(".")
-    |> Enum.map(&Base.url_decode64!/1)
+    |> Enum.map(fn (n) -> Base.url_decode64!(n, padding: false) end)
     |> Enum.map(make_integer)
 
     {:RSAPublicKey, modulus, exponent}