diff --git a/bin/controller.rc b/bin/controller.rc index 63c38b7..ef54a57 100755 --- a/bin/controller.rc +++ b/bin/controller.rc @@ -1,7 +1,6 @@ #!/usr/local/plan9/bin/rc - path=(. ./bin $PLAN9/bin /bin/ /usr/bin) -ifs='/' { args = `{ echo -n $REQUEST_URI | sed -e 's/[^a-zA-Z0-9_+\-\/]//g' -e 's/\?.*//' } } +ifs='/' { args = `{ echo -n $REQUEST_URI | sed -e 's/\?.*//' -e 's/[^a-zA-Z0-9_+\-\/]//g' } } args=`{echo $args | tr -d ' '} cd ..