[Rt-commit] r4799 - in rt/branches/3.4-RELEASE: lib/RT/Interface/Web
jesse at bestpractical.com
jesse at bestpractical.com
Thu Mar 23 01:38:00 EST 2006
Author: jesse
Date: Thu Mar 23 01:37:59 2006
New Revision: 4799
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
Log:
r30313 at truegrounds: jesse | 2006-03-23 01:36:27 -0500
* Better mp2 bulletproofing
Modified: rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm Thu Mar 23 01:37:59 2006
@@ -117,7 +117,8 @@
# Clean up our umask to protect session files
umask(0077);
- if ($CGI::MOD_PERL) {
+ if ($CGI::MOD_PERL and $CGI::MOD_PERL < 1.9908 )) {
+
chown( Apache->server->uid, Apache->server->gid,
$RT::MasonSessionDir )
if Apache->server->can('uid');
More information about the Rt-commit
mailing list