Re: Apache2::URI::unescape_url

2009-05-10 Thread Adam Prime
Ryan Gies wrote:
 On Thu, 7 May 2009 14:29:18 -0700
 Fred wrote:
 
 That's pretty weird.  If you modify it to be:

 $url = Apache2::URI::unescape_url($url);

 then it works ok, though according to the docs on perl.apache.org
 it's not supposed to have a return value.
 
 Just curious Adam, does that mean you were able to reproduce it?

Yes, i was able to reproduce it.

Adam


[RELEASE CANDIDATE] mod_perl-1.31 RC8

2009-05-10 Thread Philippe M. Chiasson
The mod_perl 1.31 release candidate 8 is ready. It can be downloaded here:

http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc8.tar.gz

SHA1(mod_perl-1.31-rc8.tar.gz)= 36c0e59a374dbd490da061c6b45b8e11d1f80309
MD5(mod_perl-1.31-rc8.tar.gz)= 0c2808ccf669fea79760636e425f38b3

Please give it a spin in your favorite configuration and report
any problems. Especially needed against Perl-5.10 and on Windows.

The summary of what has changed since 1.30 are (from Changes):

Fix static APACI build on Mac OS X. [Gozer]

Fix XSS vulnerability in Apache::Status reported by
Richard J. Brain, CVE-2009-0796
[Fred Moyer]

On Win32, mod_perl.h needs to include malloc.h before the perl
headers, at least when built with USE_ITHREADS
[Steve Hay]

Win32 needs PERL_SYS_INIT/PERL_SYS_TERM calls when built with
USE_ITHREADS [sic--that's different to USE_THREADS]. In fact,
they ought to be always called if they are defined
[Steve Hay]

Fix potential segfault when the environment contains
NULL values [Mike Schilli]

Fix static APACI build against newer apache-1.3.38+
[Gozer]

Fixed modules/regex.t test 4 on Win32
[Steve Hay]

Avoid possible segfault when PerlFreshRestart is On.
[Michael Rendell mich...@cs.mun.ca]

Prevent segfault when running with perl = 5.9.3
[Steve Hay]

Fix shared libary extensions on Win32 to be .dll not .so
[Nikolay Ananiev anan...@thegdb.com]

Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl = 5.8.6 [Steve Hay]

-- 
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/   m/gozer\@(apache|cpan|ectoplasm)\.org/













signature.asc
Description: OpenPGP digital signature


svn commit: r773444 - in /perl/modperl/branches/1.x: Changes apaci/mod_perl.config.sh

2009-05-10 Thread gozer
Author: gozer
Date: Mon May 11 01:21:15 2009
New Revision: 773444

URL: http://svn.apache.org/viewvc?rev=773444view=rev
Log:
Fix broken APACI static builds on recent Mac OS X.

Reported-By: da...@kineticode.com


Modified:
perl/modperl/branches/1.x/Changes
perl/modperl/branches/1.x/apaci/mod_perl.config.sh

Modified: perl/modperl/branches/1.x/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=773444r1=773443r2=773444view=diff
==
--- perl/modperl/branches/1.x/Changes (original)
+++ perl/modperl/branches/1.x/Changes Mon May 11 01:21:15 2009
@@ -10,6 +10,8 @@
 
 =item 1.31-dev
 
+Fix static APACI build on Mac OS X. [Gozer]
+
 Fix XSS vulnerability in Apache::Status reported by 
 Richard J. Brain, CVE-2009-0796
 [Fred Moyer]

Modified: perl/modperl/branches/1.x/apaci/mod_perl.config.sh
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/apaci/mod_perl.config.sh?rev=773444r1=773443r2=773444view=diff
==
--- perl/modperl/branches/1.x/apaci/mod_perl.config.sh (original)
+++ perl/modperl/branches/1.x/apaci/mod_perl.config.sh Mon May 11 01:21:15 2009
@@ -133,6 +133,12 @@
perl_lddlflags=$perl_lddlflags $XLINKER-bI:\$(APACHELIBEXEC)/httpd.exp
;;
 
+darwin*)
+# OS X has .bundle's, .so's and .dylib's, but we need to normalize
+# to .so, so keep it simple, and blindly normalize
+perl_dlext=`echo $perl_dlext | sed -e's/bundle/so/' | sed 
-e's/dylib/so/'`
+;;
+
 cygwin*)
perl_ld=gcc -shared
;;