We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:erlang.binary_to_term
Plug.Crypto.non_executable_binary_to_term
1 parent 257af0a commit de00893Copy full SHA for de00893
lib/algora/integrations/github/client.ex
@@ -74,7 +74,7 @@ defmodule Algora.Github.Client do
74
case File.read(cache_path) do
75
{:ok, content} ->
76
content
77
- |> :erlang.binary_to_term()
+ |> Plug.Crypto.non_executable_binary_to_term([:safe])
78
|> maybe_retry()
79
80
{:error, _} ->
lib/algora/shared/util.ex
@@ -25,7 +25,7 @@ defmodule Algora.Util do
25
def base64_to_term!(base64) do
26
base64
27
|> Base.decode64!()
28
29
end
30
31
def format_number_compact(number) when is_struct(number, Decimal) do
0 commit comments