You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request:
Add a new :url validator type to Goo::Validators::DataType that ensures user-supplied URIs are http or https schemes only.
Use case:
The current :uri validator accepts all valid RDF::URIs, which can include schemes like file:, ftp:, data:, or javascript:. While technically valid, these can introduce security risks. Restricting to HTTP(S) schemes mitigates SSRF and URI injection vulnerabilities.