This is the same as just leaving `url.to_s =~ /^#{Regexp.escape(client_url.to_s)}/`.