diff options
author | Frédéric Guillot <fred@miniflux.net> | 2017-12-01 22:29:18 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2017-12-01 22:29:18 -0800 |
commit | fb2a73c91ef76472d44a36c8214f46dc8fbbf538 (patch) | |
tree | d9206419de42b86b6066041d6b7298838d0d9818 /reader/sanitizer | |
parent | 1a90c059e716a90c9132fd211df9adda038b8950 (diff) |
Proxify image enclosures
Diffstat (limited to 'reader/sanitizer')
-rw-r--r-- | reader/sanitizer/sanitizer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/sanitizer/sanitizer.go b/reader/sanitizer/sanitizer.go index ad286c6..1c1c7c1 100644 --- a/reader/sanitizer/sanitizer.go +++ b/reader/sanitizer/sanitizer.go @@ -88,7 +88,7 @@ func sanitizeAttributes(baseURL, tagName string, attributes []html.Attribute) ([ if tagName == "iframe" && !isValidIframeSource(attribute.Val) { continue } else { - value, err = url.GetAbsoluteURL(baseURL, value) + value, err = url.AbsoluteURL(baseURL, value) if err != nil { continue } |