sier has asked for the wisdom of the Perl Monks concerning the following question:
I would think that since this is all handled by Perl that the browser wouldn't make a difference, but it definitely seems to be the case. I am thinking maybe the value that IE sends in POST is different than the value that Firefox is sending...but I just can't figure it out.$file = ~m/^.*(\\|\/)(.*)/; open(LOCAL, ">../../htdocs/images/photos/$file") or die $!; while(<$file>) { print LOCAL $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scrubbing a local path in a file upload
by igelkott (Priest) on Feb 27, 2009 at 23:07 UTC | |
|
Re: Scrubbing a local path in a file upload
by hbm (Hermit) on Feb 27, 2009 at 23:50 UTC | |
|
Re: Scrubbing a local path in a file upload
by ig (Vicar) on Feb 28, 2009 at 00:05 UTC | |
|
Re: Scrubbing a local path in a file upload
by locked_user sundialsvc4 (Abbot) on Feb 28, 2009 at 03:27 UTC | |
|
Re: Scrubbing a local path in a file upload
by bichonfrise74 (Vicar) on Feb 28, 2009 at 00:58 UTC | |
|
Re: Scrubbing a local path in a file upload
by Anonymous Monk on Feb 28, 2009 at 08:35 UTC | |
|
Re: Scrubbing a local path in a file upload
by Anonymous Monk on Feb 28, 2009 at 19:34 UTC | |
by Anonymous Monk on Feb 28, 2009 at 19:49 UTC | |
by sier (Initiate) on Mar 04, 2009 at 15:07 UTC | |
|
Re: Scrubbing a local path in a file upload
by Bloodnok (Vicar) on Feb 28, 2009 at 14:43 UTC |