From e0fe01925e38b66318a981a201cb1fc135892ee7 Mon Sep 17 00:00:00 2001 From: Maja Komel Date: Tue, 14 May 2019 16:52:56 +0200 Subject: [PATCH] FIX: make frozen string mutable in incoming_domain --- app/models/incoming_domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/incoming_domain.rb b/app/models/incoming_domain.rb index ced37023d7d..e9ef69ffaac 100644 --- a/app/models/incoming_domain.rb +++ b/app/models/incoming_domain.rb @@ -23,7 +23,7 @@ class IncomingDomain < ActiveRecord::Base end def to_url - url = "http#{https ? "s" : ""}://#{name}" + url = +"http#{https ? "s" : ""}://#{name}" if https && port != 443 || !https && port != 80 url << ":#{port}"