Fix error when looking handle with surrounding spaces (#18225)
This commit is contained in:
@ -66,7 +66,7 @@ class ResolveAccountService < BaseService
|
||||
@username = @account.username
|
||||
@domain = @account.domain
|
||||
else
|
||||
@username, @domain = uri.split('@')
|
||||
@username, @domain = uri.strip.gsub(/\A@/, '').split('@')
|
||||
end
|
||||
|
||||
@domain = begin
|
||||
|
Reference in New Issue
Block a user