[OT] checking for legal chars in a filename passed in by upload params?

2005-04-11 Thread Carl Brewer
Sorry for the OT post, but I figure this is a good place to ask, as I'm sure lots of you have solved this one before.(and this is using CGI.pm too :( ) I'm writing a small app that takes an uploaded file from a form, pops it into an obfuscated directory, and then mails out a "here it is" page to a

[RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Geoffrey Young
the mod_perl development team is pleased to announce that we have a new candidate for mod_perl 2.0, ready and waiting for testers. this release, mod_perl 1.999_22, is a _very_ significant release as it contains major API changes and is completely incompatible with any prior release of mod_perl 1.9

[RELEASE CANDIDATE] Apache-Test

2005-04-11 Thread Geoffrey Young
we are pleased to announce a new release candidate for the Apache-Test distribution. http://people.apache.org/~geoff/Apache-Test-1.22-dev.tar.gz the important change to note for this release is that mod_perl support is incompatible with mod_perl versions 1.999_21 and earlier. in other words if

Re: [OT] checking for legal chars in a filename passed in by upload params?

2005-04-11 Thread Scott Gifford
Carl Brewer <[EMAIL PROTECTED]> writes: [...] > I'm not too worried about the upload filenames, but the defensive > programmer in me somewhere says if I'm going to write this, I should > prevent the uploadee from doing bad things. The uploadee *should* > be a trusted user, but may not be... I d

RE: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Adam Prime x443
Assuming i was upgrading a machine running RC4 to RC5, what is the easiest way to remove RC4 so RC5 will install? make uninstall in the old build directory says it's depreciated (looking at the makefile), but offers no automated alternative? Will it do the job or do I really need to go throu

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Stas Bekman
Adam Prime x443 wrote: Assuming i was upgrading a machine running RC4 to RC5, what is the easiest way to remove RC4 so RC5 will install? make uninstall in the old build directory says it's depreciated (looking at the makefile), but offers no automated alternative? Will it do the job or do I really

Re: Web Content Compression FAQ - new update

2005-04-11 Thread Stas Bekman
Slava Bizyayev wrote: Hi everyone, Here a new version of FAQ is attached in pod format. thanks Slava, committed. I need someone to update a website with it. I would additionally ask to add the first pharagraph of the FAQ directly to http://perl.apache.org/docs/tutorials/index.html in order to unif

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Stas Bekman
Stas Bekman wrote: Adam Prime x443 wrote: Assuming i was upgrading a machine running RC4 to RC5, what is the easiest way to remove RC4 so RC5 will install? make uninstall in the old build directory says it's depreciated (looking at the makefile), but offers no automated alternative? Will it do the

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Jonathan Vanasco
On Apr 11, 2005, at 10:05 AM, Geoffrey Young wrote: *** YOU WILL NEED TO MODIFY ALL YOUR CODE AFTER UPGRADING *** Is there going to be another one of these for mod_perl under Apache2.1 ?

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Geoffrey Young
Jonathan Vanasco wrote: > > On Apr 11, 2005, at 10:05 AM, Geoffrey Young wrote: > >> *** YOU WILL NEED TO MODIFY ALL YOUR CODE AFTER UPGRADING *** > > > Is there going to be another one of these for mod_perl under Apache2.1 ? not likely, but don't confuse the issue - really, the code migra

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Philip M. Gollucci
Jonathan Vanasco wrote: On Apr 11, 2005, at 10:05 AM, Geoffrey Young wrote: *** YOU WILL NEED TO MODIFY ALL YOUR CODE AFTER UPGRADING *** Is there going to be another one of these for mod_perl under Apache2.1 ? I don't think so... The most radically different thing is the auth modules and that i

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Philip M. Gollucci
2.1 without issue, and I think there are several over on dev@ that are doing That'd be me... I'm using 2.1.5-dev w/ mp2

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5 {OK on OSX 10.3.8 w/ Apache 2.1.5-dev}

2005-04-11 Thread OpenMacNews
hi all, -- On April 11, 2005 1:44:12 PM -0400 "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: 2.1 without issue, and I think there are several over on dev@ that are doing That'd be me... I'm using 2.1.5-dev w/ mp2 fwiw, today's HEAD looks OK on my OSX 10.3.8 dev-box ... Server Version: Apache/2.1

Re: Web Content Compression FAQ - new update

2005-04-11 Thread Slava Bizyayev
H Stas, On Mon, 2005-04-11 at 11:53, Stas Bekman wrote: > It's done automatically by using the first paragraph of the > >=head1 Description > > section, which exists in you pod files but yours :) I've added a simple: > > =head1 Description > > Everything you wanted to know about web conten

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Torsten Foertsch
On Monday 11 April 2005 16:05, Geoffrey Young wrote: >   http://perl.apache.org/docs/2.0/rename.html Does that mean that new modules working only with MP2 should better be named Apache2::...? I think, yes. Torsten pgpTsR65rJ130.pgp Description: PGP signature

mod_perl-2.0.0-RC5 under Windows?

2005-04-11 Thread Octavian Rasnita
Hi, Is it possible to install mod_perl-2.0.0-RC5 under Windows? I have tried but it tells me that it cannot find apxs nor ap_release.h. Then I've tried using perl Makefile.pl --prefix=/apache2 But it told that it can't find any libs ("Note: (probably harmless)"). But after finishing perl Make

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread jonathan vanasco
On Apr 11, 2005, at 12:34 PM, Stas Bekman wrote: find /usr/lib/perl5 | grep Apache2 | xargs rm -rf find /usr/lib/perl5 -name 'Apache2' -exec rm -rf {} \; adjust /usr/lib/perl5 to point to the root of your perl lib. be careful though when you do 'rm -rf' :) if anyone gets paranoid, you can always ju

Where is Apache2::RequestRec?

2005-04-11 Thread Chris Wik
Dear List, Forgive me if this is an FAQ. I'm new to mod_perl (but not Perl) and I'm trying to follow http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlTransHandler However I can't find any of the Apache2:: modules. Can't find em in CPAN, can't find em in the mod_perl package. Am I blind

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Philip M. Gollucci
jonathan vanasco wrote: does anyone know if libaprq needs to be rebuilt? or will it work ? No it will not. You'll need to for the time being check it out via SVN, but not the trunk, the branch multi-env-unstable. I just compiled it and made it all the way. I've done much tests yet... But I'll g

Re: Where is Apache2::RequestRec?

2005-04-11 Thread Philip M. Gollucci
Chris Wik wrote: Dear List, Forgive me if this is an FAQ. I'm new to mod_perl (but not Perl) and I'm trying to follow http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlTransHandler A massive API change just happened. The docs reflect the latest release candition mod_perl2.0.0-RC5 which

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread jonathan vanasco
multi-env-unstable i fear that i'm going to want backport to RC4 soon... I keep getting this error on the 'make test' osx 10.3.8 perl Makefile.PL APXS=/usr/local/apache2/bin/apxs (mp1 worked fine) waiting 120 seconds for server to start: .[Mon Apr 11 19:06:00 2005] [info] 6 Apache2:: modules lo

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Philip M. Gollucci
jonathan vanasco wrote: multi-env-unstable t/logs/error_log says: END in modperl_extra.pl, pid=5152 Attempt to free unreferenced scalar at /System/Library/Perl/5.8.1/Test/Harness.pm line 31. t/logs/error_log says: END in modperl_extra.pl, pid=5152 Attempt to free unreferenced scal

Re: Where is Apache2::RequestRec?

2005-04-11 Thread Chris Wik
On Mon, 2005-04-11 at 19:08 -0400, Philip M. Gollucci wrote: > A massive API change just happened. The docs reflect the latest release > candition mod_perl2.0.0-RC5 which is currently being tested for release > around wednedsay. > > Since you're using an older mod_perl, > You'll want to look f

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread jonathan vanasco
On Apr 11, 2005, at 7:16 PM, Philip M. Gollucci wrote: perl with or without ithreads apr with threads worker or prefork mpm? standard perl – that is one thing i never want to compile on my own apr seems to have APR_USE_PTHREAD_SERIALIZE httpd is prefork_mpm did i choose the wrong stuff for apache?

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Philip M. Gollucci
jonathan vanasco wrote: On Apr 11, 2005, at 7:16 PM, Philip M. Gollucci wrote: perl with or without ithreads apr with threads worker or prefork mpm? standard perl – that is one thing i never want to compile on my own a perl -V ? -- END -- Philip

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread jonathan vanasco
On Apr 11, 2005, at 7:09 PM, jonathan vanasco wrote: i fear that i'm going to want backport to RC4 soon... and so I have! I need to spend my time right now developing this webapp i've been slaving on - i'm gonna hold off on RC5 until there's a libaprq release for it Thanks to everyone who chimed

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Perrin Harkins
On Mon, 2005-04-11 at 19:20 -0400, jonathan vanasco wrote: > standard perl â that is one thing i never want to compile on my own You may want to try it some day. It's a very easy compile, and on systems like Fedora you can get about 15% better speed by compiling it yourself with all the defaults.

Re: mod_perl-2.0.0-RC5 under Windows?

2005-04-11 Thread Randy Kobes
On Mon, 11 Apr 2005, Octavian Rasnita wrote: > Hi, > > Is it possible to install mod_perl-2.0.0-RC5 under Windows? Yes, it should be. Once the official release candidate is on CPAN, I'll make up a ppm package of it. > I have tried but it tells me that it cannot find apxs nor > ap_release.h. The

Re: [RELEASE CANDIDATE] mod_perl 2.0-RC5

2005-04-11 Thread Philippe M. Chiasson
Geoffrey Young wrote: the mod_perl development team is pleased to announce that we have a new candidate for mod_perl 2.0, ready and waiting for testers. [...] Looks like things are borked on OS X ;-( Darwin (OS X): Static: bus error on startup (will investigate) Dynamic: worker & prefork: