zulip/zerver/lib/url_preview
Anders Kaseorg 4839b7ed27 url_preview: Interpret og:image relative to full page URL.
og:image is supposed to be an absolute URL, but some sites incorrectly
provide a relative URL.  In this case, it makes more sense to
interpret it relative to the full page URL after redirects, rather
than relative to just the domain part of the page URL before
redirects.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-10-21 12:20:37 -07:00
..
parsers python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
__init__.py
oembed.py outgoing_http: Use OutgoingSession subclasses in more places. 2021-09-01 05:34:13 -07:00
preview.py url_preview: Interpret og:image relative to full page URL. 2021-10-21 12:20:37 -07:00