in reply to Re^7: somethign wrong with the sumbit
in thread somethign wrong with the sumbit
This /\\/ matches a backslash - not what you want.
But I think, best is to convert the param value to an absolute path via e.g. abs_path (from Cwd) and check whether the allowed path matches.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: somethign wrong with the sumbit
by Nik (Initiate) on Dec 30, 2007 at 17:37 UTC |