Skip to content

Commit 5788f3f

Browse files
jazairiCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3eef697 commit 5788f3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/thirdiron_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def safe_full_record_url(url)
3232
return nil if url.blank?
3333

3434
parsed = URI.parse(url)
35-
return nil unless parsed.is_a?(URI::HTTP) || parsed.is_a?(URI::HTTPS)
35+
return nil unless parsed.is_a?(URI::HTTP)
3636
return nil if parsed.host.blank?
3737

3838
parsed.to_s

0 commit comments

Comments
 (0)