X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=action.sh;h=d9d6be2bbebef7f6eb41e6679fc1a6eaf239d9a6;hp=f8fef05571912b0540d5bdf9049bc87c8d07f64b;hb=9da739230659371a860e93dcaf3765b977e30de7;hpb=737e7f91162ec98b99dd2796ca26dd95e8c21f49 diff --git a/action.sh b/action.sh index f8fef05..d9d6be2 100755 --- a/action.sh +++ b/action.sh @@ -2,6 +2,6 @@ ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')" ACTION="${_EXEC}/actions/${ACTION}.sh" -[ -x "$ACTION" ] || echo -n "Location: http://$HTTP_HOST/?page=error" +[ -x "$ACTION" ] || echo -n "Location: http://$HTTP_HOST/?page=error\n\n" . $ACTION