about summary refs log tree commit diff
path: root/app/controllers/authorize_follow_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/authorize_follow_controller.rb')
-rw-r--r--app/controllers/authorize_follow_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/authorize_follow_controller.rb b/app/controllers/authorize_follow_controller.rb
index c98a5f45f..9b28a9455 100644
--- a/app/controllers/authorize_follow_controller.rb
+++ b/app/controllers/authorize_follow_controller.rb
@@ -6,7 +6,7 @@ class AuthorizeFollowController < ApplicationController
   before_action :authenticate_user!
 
   def new
-    uri = Addressable::URI.parse(acct_param)
+    uri = Addressable::URI.parse(acct_param).normalize
 
     if uri.path && %w(http https).include?(uri.scheme)
       set_account_from_url