summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/CGI
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-07-23 13:08:56 +0000
committerfukachan <fukachan>2004-07-23 13:08:56 +0000
commit8890881626a12bd1d89241374b8bcc007b26d08f (patch)
tree85c8c2d1ecce63f34fff2fd29cc7f9685db3cc8c /fml/lib/FML/Process/CGI
parent8e3bb41164cda88dfd482e6ea94c679b0e474a21 (diff)
downloadfml8-8890881626a12bd1d89241374b8bcc007b26d08f.tar.gz
fml8-8890881626a12bd1d89241374b8bcc007b26d08f.tar.bz2
fml8-8890881626a12bd1d89241374b8bcc007b26d08f.zip
fix error upcall
Diffstat (limited to 'fml/lib/FML/Process/CGI')
-rw-r--r--fml/lib/FML/Process/CGI/Param.pm10
1 files changed, 7 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/CGI/Param.pm b/fml/lib/FML/Process/CGI/Param.pm
index bcd3924d..aa9cfcef 100644
--- a/fml/lib/FML/Process/CGI/Param.pm
+++ b/fml/lib/FML/Process/CGI/Param.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Param.pm,v 1.21 2003/08/25 14:13:59 fukachan Exp $
+# $FML: Param.pm,v 1.22 2004/01/21 03:40:43 fukachan Exp $
#
package FML::Process::CGI::Param;
@@ -17,7 +17,7 @@ use CGI qw/:standard/;
=head1 NAME
-FML::Process::CGI::Param - restrict CGI input
+FML::Process::CGI::Param - restrict CGI input.
=head1 SYNOPSIS
@@ -72,7 +72,8 @@ sub safe_param
}
}
else {
- croak("CGI parameter $key is undefined");
+ my $r = "CGI parameter $key is undefined";
+ croak("__ERROR_cgi.insecure__: $r");
}
}
@@ -84,6 +85,9 @@ return ARRAY_REF for $key.
=cut
+# XXX-TODO: safe_paramlist NOT USED ?
+
+
# Descriptions: return ARRAY_REF for key if the value is appropriate.
# Arguments: OBJ($self) NUM($numregexp) STR($key)
# Side Effects: none