summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/auth/rmaccess.cgi
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@cobain.omgwallhack.org>2018-09-24 23:09:57 -0700
committerJoe Rayhawk <jrayhawk@cobain.omgwallhack.org>2018-09-24 23:09:57 -0700
commit9f5b32d7833cce9171bc0035657693c7d73afc84 (patch)
tree4424701509951cb1f78d6d078f2d60d020a33148 /pinyweb/cgi-bin/auth/rmaccess.cgi
parent8e3dd1d39eced80d229ef411b193417d10067074 (diff)
downloadpiny-code-9f5b32d7833cce9171bc0035657693c7d73afc84.tar.gz
piny-code-9f5b32d7833cce9171bc0035657693c7d73afc84.zip
pinyweb: scalarizing CGI params because perl
Because not everyone wants to Perl Jam.
Diffstat (limited to 'pinyweb/cgi-bin/auth/rmaccess.cgi')
-rwxr-xr-xpinyweb/cgi-bin/auth/rmaccess.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/auth/rmaccess.cgi b/pinyweb/cgi-bin/auth/rmaccess.cgi
index 35736ab..24147ba 100755
--- a/pinyweb/cgi-bin/auth/rmaccess.cgi
+++ b/pinyweb/cgi-bin/auth/rmaccess.cgi
@@ -14,7 +14,7 @@ $q = CGI->new;
print( "Content-type: text/plain\n\n");
if( defined( $q->param('r') ) && defined( $q->param('n') ) ) {
- unless ( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'rmaccess', $q->param('r'), $q->param('n') ) == 0 ) {
+ unless ( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'rmaccess', scalar( $q->param('r') ), scalar( $q->param('n') ) ) == 0 ) {
die( 'rmaccess was unsuccessful.' );
};
} else {