in reply to Re: Using Regexp Patterns as Variables
in thread Using Regexp Patterns as Variables
I fully understand the security implications of doing this. But, as I mentioned the people creating these rules also have full access to the machine running the site. So as to say, it's a trusted source.my $out = '/s/Products/$1'; $ENV{REQUEST_URI} =~ s/$in/eval qq{"$out"}/ie;
Thanks for your help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using Regexp Patterns as Variables
by kyle (Abbot) on Mar 18, 2009 at 17:08 UTC | |
by Rodster001 (Pilgrim) on Mar 18, 2009 at 17:26 UTC | |
by kyle (Abbot) on Mar 18, 2009 at 18:09 UTC | |
by ikegami (Patriarch) on Mar 18, 2009 at 19:45 UTC | |
by Rodster001 (Pilgrim) on Mar 18, 2009 at 20:28 UTC | |
by kyle (Abbot) on Mar 18, 2009 at 20:03 UTC | |
|