Commit 0dbcdadb authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: don't use IPFS if URL is too strange

parent 3c8d7154
......@@ -958,6 +958,11 @@ sget()
exit
fi
if echo "$REALURL" | grep -q "[?&]" ; then
info "Just download strange URL, skipping IPFS"
url_sget "$REALURL" "$TARGET"
return
fi
local CID="$(get_cid_by_url "$REALURL")"
if [ -n "$CID" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment