[Rt-commit] r2450 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . html/REST/1.0 html/REST/1.0/NoAuth

jesse at bestpractical.com jesse at bestpractical.com
Mon Mar 14 03:03:05 EST 2005


Author: jesse
Date: Mon Mar 14 03:03:05 2005
New Revision: 2450

Modified:
   rt/branches/PLATANO-EXPERIMENTAL-CSS/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/NoAuth/mail-gateway
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/autohandler
Log:
 r8610 at hualien:  jesse | 2005-03-14 02:43:04 -0500
  r8498 at hualien:  jesse | 2005-03-14 02:28:19 -0500
   r6453 at hualien:  jesse | 2005-03-06 14:53:44 -0500
    r2567 at hualien:  jesse | 2005-01-06 16:37:01 -0500
    RT-Ticket: 6338
    RT-Status: resolved
    RT-Update: correspond
    
    Force UTF8 content type on replies from RT's REST interface (Thanks to Dirk Pape)
    
    
   
  
 


Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/NoAuth/mail-gateway
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/NoAuth/mail-gateway	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/NoAuth/mail-gateway	Mon Mar 14 03:03:05 2005
@@ -54,6 +54,8 @@
 </%ARGS>
 <%init>
 use RT::Interface::Email; 
+$r->content_type('text/plain; charset=utf-8');
+$m->error_format('text');
 my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway(\%ARGS);
  if ($status == -75 ) {
 $m->out("temporary failure - ". $error);

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/autohandler
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/autohandler	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/REST/1.0/autohandler	Mon Mar 14 03:03:05 2005
@@ -47,7 +47,7 @@
 %#
 <%INIT>
 use RT::Interface::REST;
-$r->content_type('text/plain');
+$r->content_type('text/plain; charset=utf-8');
 $m->error_format('text');
 $m->call_next();
 $m->abort();


More information about the Rt-commit mailing list