X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/01b84a810703041bc4a5011068214c92de0a5bec..cb86e74f69c6b1fe62b06d037396976fadfa3ad8:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c3eb1ad85..d571535d3 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -393,6 +393,8 @@ class ApplicationController < ActionController::Base referer = nil end + referer = nil if referer&.path&.first != "/" + referer.to_s end end