You just allowed arbitrary code to be placed in the url. Considering the code appears in a CGI script, that doesn't seem to be a good idea.
If you want a template (that's what '$1' is here), use a template, not eval EXPR!!!
In reply to Re^2: Using Regexp Patterns as Variables
by ikegami
in thread Using Regexp Patterns as Variables
by Rodster001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |