Module: Safire::URIValidation Private
- Included in:
- ClientConfig, HTTPClient, Middleware::HttpsOnlyRedirects, Protocols::Smart, Protocols::UdapMetadata, Protocols::UdapRegistrationMetadata, Protocols::UdapSignedMetadataValidator, Protocols::UdapSoftwareStatement
- Defined in:
- lib/safire/uri_validation.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Shared URI classification for HTTPS enforcement.
Provides #classify_uri, #strict_https_uri?, #localhost_http_uri?, and #localhost_host? as private instance methods. Include this module in any class that must apply Safire's localhost-aware HTTPS policy or a protocol-specific strict-HTTPS requirement.