Run bin/rails app:update with Rails 7.1 (#27522)
				
					
				
			This commit is contained in:
		@@ -1,8 +1,10 @@
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
 | 
			
		||||
# Define an application-wide content security policy
 | 
			
		||||
# For further information see the following documentation
 | 
			
		||||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
 | 
			
		||||
# Be sure to restart your server when you modify this file.
 | 
			
		||||
 | 
			
		||||
# Define an application-wide content security policy.
 | 
			
		||||
# See the Securing Rails Applications Guide for more information:
 | 
			
		||||
# https://guides.rubyonrails.org/security.html#content-security-policy-header
 | 
			
		||||
 | 
			
		||||
def host_to_url(str)
 | 
			
		||||
  return if str.blank?
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user