summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-11-08 11:47:17 +0100
committerAzul <azul@riseup.net>2017-11-08 11:47:17 +0100
commitd12e6029889f7905c8b1586d93f653ed0978a88e (patch)
treeadbdb2d874a0bf45e40eff18e2135003a49aae02 /app/views
parentf6189ee371ea55178eca4bfd865a508ac54af92d (diff)
fix #8010 - publish public key in webfinger
we were simply referring to the wrong key. includes test
Diffstat (limited to 'app/views')
-rw-r--r--app/views/webfinger/search.xml.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/webfinger/search.xml.erb b/app/views/webfinger/search.xml.erb
index 7328552..16ac137 100644
--- a/app/views/webfinger/search.xml.erb
+++ b/app/views/webfinger/search.xml.erb
@@ -2,6 +2,6 @@
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Subject><%= @presenter.subject %></Subject>
<%- @presenter.links.each do |rel, link| %>
- <Link rel=<%=rel%> type=<%=link[:type]%> href="<%= link[:key] %>"/>
+ <Link rel=<%=rel%> type=<%=link[:type]%> href="<%= link[:href] %>"/>
<% end %>
</XRD>