Skip to content

Commit 4ddb717

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 5fcf9c5 commit 4ddb717

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/controllers/thirdiron_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def safe_full_record_url(url)
3434
parsed = URI.parse(url)
3535
return nil unless parsed.is_a?(URI::HTTP)
3636
return nil if parsed.host.blank?
37+
return nil if parsed.userinfo.present?
3738

3839
parsed.to_s
3940
rescue URI::InvalidURIError, ArgumentError

0 commit comments

Comments
 (0)