in reply to Re: Using Regexp Patterns as Variables
in thread Using Regexp Patterns as Variables
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!!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using Regexp Patterns as Variables
by Rodster001 (Pilgrim) on Mar 18, 2009 at 16:51 UTC | |
by Anonymous Monk on Mar 18, 2009 at 17:49 UTC | |
|
Re^3: Using Regexp Patterns as Variables
by kyle (Abbot) on Mar 18, 2009 at 16:48 UTC | |
by ikegami (Patriarch) on Mar 18, 2009 at 16:56 UTC | |
by Rodster001 (Pilgrim) on Mar 18, 2009 at 17:06 UTC |