projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix regression in MediaProxy.local?/0 and appending the Upload.base_url to whiteliste...
[akkoma]
/
lib
/
pleroma
/
html.ex
diff --git
a/lib/pleroma/html.ex
b/lib/pleroma/html.ex
index c848c782c3c79e731d70553e04009bf23992d3d6..c5ece7350247e9fc69e8fa383063cad79d723622 100644
(file)
--- a/
lib/pleroma/html.ex
+++ b/
lib/pleroma/html.ex
@@
-59,7
+59,7
@@
defmodule Pleroma.HTML do
key = "#{key}#{generate_scrubber_signature(scrubbers)}|#{activity.id}"
@cachex.fetch!(:scrubber_cache, key, fn _key ->
key = "#{key}#{generate_scrubber_signature(scrubbers)}|#{activity.id}"
@cachex.fetch!(:scrubber_cache, key, fn _key ->
- object = Pleroma.Object.normalize(activity)
+ object = Pleroma.Object.normalize(activity
, fetch: false
)
ensure_scrubbed_html(content, scrubbers, object.data["fake"] || false, callback)
end)
end
ensure_scrubbed_html(content, scrubbers, object.data["fake"] || false, callback)
end)
end