Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tools/statuspage.1m.rb] Fix screenshot, use proper fetching #2093

Merged
merged 1 commit into from
Feb 23, 2025

Conversation

stephenyeargin
Copy link
Contributor

Noticed thes screenshot here (and in several other places) is broken because of imgur's http -> https redirect breaking whatever process is loading them in for the documentation. Instead, this moves it within the repository and uses it from there.

Also avoids using the open(url) pattern because it tries to run it at the Ruby kernel level rather than in a safer spot. 1

Footnotes

  1. https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Security/Open

Noticed thes screenshot here (and in several other places) is broken
because of imgur's http -> https redirect breaking whatever process is
loading them in. Instead, this moves it within the repository and uses
it from there.

Also avoids using the `open(url)` pattern because it tries to run it at
the Ruby kernel level rather than in a safer spot.
[ref](https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Security/Open)
@sprak3000 sprak3000 added the ruby label Feb 23, 2025
@sprak3000 sprak3000 merged commit c1639a3 into matryer:main Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants