Skip to content

Commit 7ef721b

Browse files
author
Brent Cook
committed
Might as well format the url all at once.
1 parent 8c3d4c8 commit 7ef721b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/apple_safari_webarchive_uxss.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def find_cached_scripts
769769
url = page_uri + url
770770
end
771771
if url.to_s.starts_with? '//'
772-
url = "#{page_uri.scheme}:"+url
772+
url = "#{page_uri.scheme}:#{url}"
773773
end
774774
io = open(url)
775775
rescue URI::InvalidURIError, OpenURI::HTTPError

0 commit comments

Comments
 (0)