projects
/
confetti
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f8fef05571912b0540d5bdf9049bc87c8d07f64b
[confetti]
/
action.sh
1
#!/bin/zsh
2
3
ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')"
4
ACTION="${_EXEC}/actions/${ACTION}.sh"
5
[ -x "$ACTION" ] || echo -n "Location: http://$HTTP_HOST/?page=error"
6
7
. $ACTION