A quick fix to ensure that content-types appear correctly for
attachments when using FastCGI:
— mason_handler.fcgi.2-0-11 Sun Jan 27 22:35:32 2002
+++ mason_handler.fcgi Sun Jan 27 23:42:07 2002
@@ -41,7 +41,7 @@
{
package HTML::Mason::Commands;
-
use vars qw(%session $ContentType);
use RT;
use RT::Ticket;
@@ -87,7 +87,6 @@
set the page’s content type.
In this case, just save it to a variable that we can pull later;
- my $ContentType;
sub SetContentType {
$ContentType = shift;
}
Cheers,
-Rich
Rich Lafferty --------------±----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | Save The Pacific Northwest Tree Octopus
rich@lafferty.ca -----------±----------------------------------------------
Applied to my sources. thanks.
-jOn Sun, Jan 27, 2002 at 11:54:00PM -0500, Rich Lafferty wrote:
A quick fix to ensure that content-types appear correctly for
attachments when using FastCGI:
— mason_handler.fcgi.2-0-11 Sun Jan 27 22:35:32 2002
+++ mason_handler.fcgi Sun Jan 27 23:42:07 2002
@@ -41,7 +41,7 @@
{
package HTML::Mason::Commands;
-
use vars qw(%session $ContentType);
use RT;
use RT::Ticket;
@@ -87,7 +87,6 @@
set the page’s content type.
In this case, just save it to a variable that we can pull later;
- my $ContentType;
sub SetContentType {
$ContentType = shift;
}
Cheers,
-Rich
–
Rich Lafferty --------------±----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | Save The Pacific Northwest Tree Octopus
rich@lafferty.ca -----------±----------------------------------------------
rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.