total rebase
[anni] / lib / pleroma / web / xml.ex
old mode 100755 (executable)
new mode 100644 (file)
index 380a80a..64329e4
@@ -31,7 +31,7 @@ defmodule Pleroma.Web.XML do
         |> :binary.bin_to_list()
         |> :xmerl_scan.string(
           quiet: true,
-          fetch_fun: fn _, _ -> raise "Resolving external entities not supported" end
+          allow_entities: false
         )
 
       {:ok, doc}