[Rt-commit] rt branch, 4.0.3-releng, created. rt-4.0.2-187-ge7b5264

Alex Vandiver alexmv at bestpractical.com
Wed Oct 12 18:28:38 EDT 2011


The branch, 4.0.3-releng has been created
        at  e7b5264cc8223316e98d2c37f3b966ef8ba704b3 (commit)

- Log -----------------------------------------------------------------
commit de7043515c3b23e0ce560567574d77db776c6023
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Oct 11 13:06:30 2011 -0400

    RT::Mason::CGI went the way of the dodo long ago
    
    Remove code that hasn't done anything useful since 2002 and just
    stringify the CGI.pm filehandle.

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 801d2d1..9e7e141 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1649,9 +1649,7 @@ sub MakeMIMEEntity {
 
             my $uploadinfo = $cgi_object->uploadInfo($filehandle);
 
-            # Prefer the cached name first over CGI.pm stringification.
-            my $filename = $RT::Mason::CGI::Filename;
-            $filename = "$filehandle" unless defined $filename;
+            my $filename = "$filehandle";
             $filename =~ s{^.*[\\/]}{};
 
             $Message->attach(

commit e7b5264cc8223316e98d2c37f3b966ef8ba704b3
Merge: 4b0f6a6 de70435
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Oct 11 13:46:13 2011 -0400

    Merge branch '4.0/remove-rt-mason-cgi' into 4.0-trunk


-----------------------------------------------------------------------


More information about the Rt-commit mailing list