X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=action.sh;h=caf214c410310da54f6befbe5f95cd6cfa711cf1;hp=f8faf1f6a8001fdabf9a414ed7e5190b86197f4f;hb=397e40b92e591ae9066dcabb414d8097555beea8;hpb=3a43bceff672dae6d391a53a1a12943c207aeff1 diff --git a/action.sh b/action.sh index f8faf1f..caf214c 100755 --- a/action.sh +++ b/action.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Serve0. If not, see . -ACTION="$(printf %s "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')" +ACTION="$(printf %s "${_GET[action]}" |egrep '^[a-zA-Z0-9_-]+$')" ACTION="${_EXEC}/actions/${ACTION}.sh" if [ -x "$ACTION" ]; then