projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2222e55
)
No tabs.
author
lain
<lain@soykaf.club>
Sat, 31 Mar 2018 18:48:04 +0000
(20:48 +0200)
committer
lain
<lain@soykaf.club>
Sat, 31 Mar 2018 18:48:04 +0000
(20:48 +0200)
lib/pleroma/gopher/server.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/gopher/server.ex
b/lib/pleroma/gopher/server.ex
index 17741a7a797abb37b63a5300be5ed126af4f0301..6a72e8dd0393405ca13f669c426f5a9ea972ea29 100644
(file)
--- a/
lib/pleroma/gopher/server.ex
+++ b/
lib/pleroma/gopher/server.ex
@@
-50,6
+50,7
@@
defmodule Pleroma.Gopher.Server.ProtocolHandler do
end
def info(text) do
+ text = String.replace(text, ~r/[\t\r\n]/, " ")
"#{text}\tfake\(NULL)\t0\r\n"
end