projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc654d
)
webfinger: send JRD by default instead of XRD
author
William Pitcock
<nenolod@dereferenced.org>
Wed, 13 Jun 2018 06:56:14 +0000
(06:56 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Wed, 13 Jun 2018 07:03:14 +0000
(07:03 +0000)
JRD being the default representation for WebFinger responses was standardized 5 years ago in
RFC 7033.
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index ee6a373d3ed27b1222b7d20817d74c0b9266ae04..0e6369147652982072500b8e4c39d6ff40cd178a 100644
(file)
--- a/
lib/pleroma/web/router.ex
+++ b/
lib/pleroma/web/router.ex
@@
-41,7
+41,7
@@
defmodule Pleroma.Web.Router do
end
pipeline :well_known do
- plug(:accepts, ["
xml", "xrd+xml", "json", "jrd+json
"])
+ plug(:accepts, ["
json", "jrd+json", "xml", "xml+xrd
"])
end
pipeline :config do