mirror of
https://github.com/redmine/redmine.git
synced 2026-02-08 07:40:13 +01:00
Merged r23469 from trunk to 6.0-stable (#41930).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23470 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -511,7 +511,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
end
|
||||
# Remove unnecessary components to convert the URL into a relative URL
|
||||
uri.omit!(:scheme, :userinfo, :host, :port)
|
||||
uri.omit!(:scheme, :authority)
|
||||
rescue Addressable::URI::InvalidURIError
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user