sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit ab4c508def7fa6af0b38aa34c0bb048a89fc78ad
parent 45a22a3865956a99bee2739772f657e8496b7e1a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 23 Sep 2015 23:46:38 +0200

sfeed_update: dont send user-agent by default (curl+version) (privacy/security)

Diffstat:
Msfeed_update | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_update b/sfeed_update @@ -40,7 +40,7 @@ merge() { # fetch a feed via HTTP/HTTPS etc. # fetchfeed(url, name, feedfile) fetchfeed() { - if curl -f -s -S --max-time 15 -z "$3" "$1"; then + if curl -H 'User-Agent:' -f -s -S --max-time 15 -z "$3" "$1"; then printf " OK %s %s\n" "$(date +'%H:%M:%S')" "$2" >&2 else printf "FAIL %s %s\n" "$(date +'%H:%M:%S')" "$2" >&2