MS IZ small webfinger bug fixes

This commit is contained in:
maxwell 2010-07-15 16:56:54 -07:00
parent d393458ae8
commit 5dea277294

View file

@ -11,7 +11,7 @@ class PublicsController < ApplicationController
end
def webfinger
@user = Person.first(:email => params[:q][4...].gsub('acct:', '')]
@user = Person.first(:email => params[:q].gsub('acct:', '')]
render 'webfinger', :layout => false, :content_type => 'application/xrd+xml'
end