From c035ac5cd677c1c016143901de4e6a2965829610 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 13 Jan 2020 19:32:36 +0100 Subject: [PATCH] bugfix: 404 on non existing card --- cards/export_card.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cards/export_card.sh b/cards/export_card.sh index e9356a9..def0b2d 100755 --- a/cards/export_card.sh +++ b/cards/export_card.sh @@ -24,4 +24,5 @@ if [ -f "$cardfile" ]; then . $_EXEC/cgilite/file.sh FILE "$cardfile" "text/vcard/charset=utf-8" else + printf 'Status: 404 Not Found\r\nContent-Length: 0\r\n\r\n' fi -- 2.39.2