Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-03-03 Thread Michael A. Capone
Torsten Förtsch wrote: On 02/28/2013 11:59 AM, Torsten Förtsch wrote: I agree with you that the behavior is unexpected. Also, the XXX comment in line 783 points out that my_finfo() is a temporary solution. So, perhaps it would be best to use APR::Finfo here. If family allows it I'll fix it o

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-03-02 Thread Torsten Förtsch
On 02/28/2013 11:59 AM, Torsten Förtsch wrote: > I agree with you that the behavior is unexpected. Also, the XXX comment > in line 783 points out that my_finfo() is a temporary solution. So, > perhaps it would be best to use APR::Finfo here. If family allows it > I'll fix it over the weekend. See

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-03-01 Thread André Warnier
demerphq wrote: On 28 February 2013 21:12, André Warnier wrote: I am ranting, and I know it. But the basic fact is that " ", in 99% of programming languages I doubt it, considering all the major languages I know of use a "," to separate arguments. And if you are in a programming language th

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-03-01 Thread demerphq
On 28 February 2013 21:12, André Warnier wrote: > I am ranting, and I know it. But the basic fact is that " ", in 99% of > programming languages I doubt it, considering all the major languages I know of use a "," to separate arguments. And if you are in a programming language then the filename

AW: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Alexander.Elgert
Dave Morgan [dave.mor...@coolplaces.ca] > Still had to deal with spaces in the mount point and filename though. :( No problem, just use -print0 ... $ uname -s SunOS $ find . -print0 find: bad option -print0 find: [-H | -L] path-list predicate-list $ so long: unset LC_ALL LC_COLLATE LANG LC_CTYP

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Dave Morgan
On 28/02/13 01:12 PM, André Warnier wrote: Randolf Richardson wrote: In truth, Microsoft is not alone there. An Apache httpd by default installs under a (created) directory named "Apache Software Foundation" of all things. One would think that /they/ at least would know better. But no. Why ma

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread André Warnier
Randolf Richardson wrote: alexander.elg...@external.t-systems.com wrote: ... I am pretty shure, I tested the capability of filenames on a Linux (ext2) or Solaris (ufs) filesystem, a long time ago The outcome was, that you can use 254 different characters, except the '\0' and the '/'. Apple's

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Randolf Richardson
> alexander.elg...@external.t-systems.com wrote: > ... > > I am pretty shure, I tested the capability of filenames on a Linux (ext2) > > or Solaris (ufs) filesystem, a long time ago > > The outcome was, that you can use 254 different characters, except the '\0' > > and the '/'. Apple's older pre

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread André Warnier
David Booth wrote: On 02/28/2013 09:32 AM, Torsten Förtsch wrote: On 02/28/2013 03:14 PM, demerphq wrote: A special place in hell is reserved for programmers that write code that assumes that spaces and other unprintables are illegal in a filename. Yes, right next door to another place in hel

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread David Booth
On 02/28/2013 09:32 AM, Torsten Förtsch wrote: On 02/28/2013 03:14 PM, demerphq wrote: A special place in hell is reserved for programmers that write code that assumes that spaces and other unprintables are illegal in a filename. Yes, right next door to another place in hell that is reserved f

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread André Warnier
demerphq wrote: On 28 February 2013 13:29, André Warnier wrote: alexander.elg...@external.t-systems.com wrote: ... I am pretty shure, I tested the capability of filenames on a Linux (ext2) or Solaris (ufs) filesystem, a long time ago The outcome was, that you can use 254 different characters,

AW: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Andreas Mock
endet: Donnerstag, 28. Februar 2013 15:14 An: mod_perl list Betreff: Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm On 28 February 2013 13:29, André Warnier wrote: > alexander.elg...@external.t-systems.com wrote: > ... > >> I am pretty shure, I test

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Torsten Förtsch
On 02/28/2013 03:14 PM, demerphq wrote: > A special place in hell is reserved for programmers that write code > that assumes that spaces and other unprintables are illegal in a > filename. +1 Torsten

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread demerphq
On 28 February 2013 13:29, André Warnier wrote: > alexander.elg...@external.t-systems.com wrote: > ... > >> I am pretty shure, I tested the capability of filenames on a Linux (ext2) >> or Solaris (ufs) filesystem, a long time ago >> The outcome was, that you can use 254 different characters, excep

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Kevin A. McGrail
On 2/28/2013 7:29 AM, André Warnier wrote: The person who invented that spaces and other unprintable characters were allowed in filenames and paths should be found, his PC and iPhone should be confiscated, he should be exiled to an isolated island in the middle of the Arctic Ocean, and he shoul

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread André Warnier
alexander.elg...@external.t-systems.com wrote: ... I am pretty shure, I tested the capability of filenames on a Linux (ext2) or Solaris (ufs) filesystem, a long time ago The outcome was, that you can use 254 different characters, except the '\0' and the '/'. But I agree, it is an annoyance it

Re: AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Torsten Förtsch
On 02/28/2013 12:31 PM, alexander.elg...@external.t-systems.com wrote: > >> > [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful >> > stat on filename containing newline at >> > /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\

AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Alexander.Elgert
> [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful > stat on filename containing newline at > /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\n I am confused, because a filename is able to contain newlines. 0 Alexander_hel

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Torsten Förtsch
On 02/14/2013 02:39 AM, Michael A. Capone wrote: > [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful > stat on filename containing newline at > /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\n > > ... which in turn results in a 500 Server Error. The culprit here

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-27 Thread Randolf Richardson
> Randolf Richardson wrote: > >> Hi Folks, > >> > >> I'm reasonably certain that this is just a misconfigured mod_perl server > >> on my part, but I can't seem to find a solution for it. > >> > >> We are currently running ModPerl::Registry to serve legacy CGI code. > >> Now, consider the followi

Re: Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-27 Thread Michael A. Capone
(Sorry so slow in responding, been out of the office) Randolf Richardson wrote: Hi Folks, I'm reasonably certain that this is just a misconfigured mod_perl server on my part, but I can't seem to find a solution for it. We are currently running ModPerl::Registry to serve legacy CGI code. No

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-13 Thread Randolf Richardson
> Hi Folks, > > I'm reasonably certain that this is just a misconfigured mod_perl server > on my part, but I can't seem to find a solution for it. > > We are currently running ModPerl::Registry to serve legacy CGI code. > Now, consider the following URL, with an embedded newline: > > http://w

Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-13 Thread Michael A. Capone
Hi Folks, I'm reasonably certain that this is just a misconfigured mod_perl server on my part, but I can't seem to find a solution for it. We are currently running ModPerl::Registry to serve legacy CGI code. Now, consider the following URL, with an embedded newline: http://www.mysite.com/c