This commit is contained in:
lain 2018-03-31 20:48:04 +02:00
parent 2222e5599c
commit ae6e3cb981

View File

@ -50,6 +50,7 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do
end end
def info(text) do def info(text) do
text = String.replace(text, ~r/[\t\r\n]/, " ")
"#{text}\tfake\(NULL)\t0\r\n" "#{text}\tfake\(NULL)\t0\r\n"
end end