Skip to main content

is_allowed_github_image_url

Function is_allowed_github_image_url 

Source
pub fn is_allowed_github_image_url(url: &Url) -> bool
Expand description

The only hosts allowed to become vision attachments. github.com is limited to /user-attachments/; an arbitrary GitHub page is not an image source and must not turn this feature into a generic web fetcher.