Unverified Commit 24253103 authored by Felix Krause's avatar Felix Krause Committed by GitHub

Add backticks around URL

parent 7289bc20
...@@ -400,7 +400,7 @@ module Pod ...@@ -400,7 +400,7 @@ module Pod
return if spec.source.nil? || spec.source[:http].nil? return if spec.source.nil? || spec.source[:http].nil?
url = spec.source[:http] url = spec.source[:http]
return if url.downcase.start_with?('https://') return if url.downcase.start_with?('https://')
warning('http', "The URL (#{url}) doesn't use the encrypted HTTPs protocol. " \ warning('http', "The URL (`#{url}`) doesn't use the encrypted HTTPs protocol. " \
'It is crucial for Pods to be transferred over a secure protocol to protect your users from man-in-the-middle attacks. '\ 'It is crucial for Pods to be transferred over a secure protocol to protect your users from man-in-the-middle attacks. '\
'This will be an error in future releases. Please update the URL to use https.') 'This will be an error in future releases. Please update the URL to use https.')
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment