# History
# (1) Created, pulled out of www-spong program (Ed 07-28-97)
#
-# $Id: www-spong-ack.pl,v 1.7 2000/10/16 15:34:32 sljohnson Exp $
+# $Id: www-spong-ack.pl,v 1.8 2000/11/06 19:39:06 sljohnson Exp $
use CGI;
use Sys::Hostname;
$cmd = $ENV{'PATH_INFO'};
-if( $cmd =~ m!^/delete/([^-]+)-(\w+)-(\d+)$! ) { &remove( $1, $2, $3 ); exit; }
+if( $cmd =~ m!^/delete/(.+?)-(\w+)-(\d+)$! ) { &remove( $1, $2, $3 ); exit; }
if( $cmd =~ m!^/help$! ) { &help(); exit; }
if( $cmd =~ m!^/ack-doit$! ) { &ack_doit(); exit; }