logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 75122e162d7b933d34c6b694c6c5a0b2533f547f
parent: c04002b340090795f1e54645cd3a7030ffd4bc21
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Mon,  2 Jan 2017 12:19:02 +0100

Fix uri expansion during remote follow

Diffstat:

Mapp/controllers/remote_follow_controller.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/remote_follow_controller.rb b/app/controllers/remote_follow_controller.rb @@ -22,7 +22,7 @@ class RemoteFollowController < ApplicationController render(:new) && return end - redirect_to Addressable::Template.new(redirect_url_link.template).expand(uri: "acct:#{@account.username}@#{Rails.configuration.x.local_domain}").to_s + redirect_to Addressable::Template.new(redirect_url_link.template).expand(uri: "#{@account.username}@#{Rails.configuration.x.local_domain}").to_s else render :new end