diff options
| author | fukachan <fukachan> | 2001-11-11 01:08:00 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-11-11 01:08:00 +0000 |
| commit | 7fadc55fb4bf2bae8fbf4eb0624045ea89de654c (patch) | |
| tree | e258cc6b2e1fd37a3899ced8f93e7535385c0fac /fml/lib/FML/Process/CGI | |
| parent | c503f9302f5759b446dddb962af493567d71381a (diff) | |
| download | fml8-7fadc55fb4bf2bae8fbf4eb0624045ea89de654c.tar.gz fml8-7fadc55fb4bf2bae8fbf4eb0624045ea89de654c.tar.bz2 fml8-7fadc55fb4bf2bae8fbf4eb0624045ea89de654c.zip | |
define article_id, method -> action
Diffstat (limited to 'fml/lib/FML/Process/CGI')
| -rw-r--r-- | fml/lib/FML/Process/CGI/Param.pm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fml/lib/FML/Process/CGI/Param.pm b/fml/lib/FML/Process/CGI/Param.pm index d5355cc6..d219f2fd 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.1.1.1 2001/11/08 15:35:32 fukachan Exp $ +# $FML: Param.pm,v 1.2 2001/11/09 00:07:10 fukachan Exp $ # package FML::Process::CGI::Param; @@ -42,10 +42,11 @@ It provides basic functions and flow. @EXPORT_OK = qw(safe_param %allow_regexp); my %allow_regexp = ( - 'address' => '[-a-z0-9_]@[-A-Z0-9\.]+', - 'ml_name' => '[-a-z0-9_]+', - 'method' => '[a-z]+', - 'user' => '[-a-z0-9_]+', + 'address' => '[-a-z0-9_]@[-A-Z0-9\.]+', + 'ml_name' => '[-a-z0-9_]+', + 'action' => '[a-z]+', + 'user' => '[-a-z0-9_]+', + 'article_id' => '\d+', ); |
