Sitelet https://github.com/codeRIT/hackathon-manager/issues/164
Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Validate asset configs to use https:// addresses #164

Description

@sman591

Asset-related configuration fields, such as logo_asset and favicon_asset need to be URLs.

Using a non-HTTP or HTTPS url will cause Rails to attempt to find the asset in its local asset pipeline (app/assets/images/...), which will fail, and take down the website. This also takes down the management UI, which makes fixing the error even more difficult.

Might be easiest to solve this by setting some sort of URL validator for any config field that includes _asset in the name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions