add redirect to xdg-open
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/xdg-open
M bin/xdg-open +1 -1
@@ 139,7 139,7 @@ filter_matching_desktops() {
 }
 
 curl_mime_type() {
-	curl --head -fsw '%{content_type}' "$1" | tail -n1 | sed 's|;.*||'
+	curl -L --head -fsw '%{content_type}' "$1" | tail -n1 | sed 's|;.*||'
 }
 
 extension_mime_type() {