[rt-users] RT 3.2.2 CLI 'Malformed response' errors

Jesse Vincent jesse at bestpractical.com
Fri Dec 17 15:27:39 EST 2004




On Thu, Dec 16, 2004 at 03:26:05PM -0500, John Stoffel wrote:
> 
> Hi all,
> 
> If I use the 'rt' perl tool to do a query from the command line, I
> get "Malformed RT reposonse" erorrs:
> 
>     # ./rt ls "Status='new'"
>     Password: 
>     rt: Malformed RT response from http://rt3.taec.toshiba.com/.
>     (Rerun with RTDEBUG=3 for details.)

The following patch fixes this and will be in 3.2.3

=== html/REST/1.0/search/ticket
==================================================================
--- html/REST/1.0/search/ticket  (revision 1984)
+++ html/REST/1.0/search/ticket  (local)
@@ -135,7 +135,7 @@
 $output = form_compose(\@output) if @output;
 
 OUTPUT:
-$m->out("RT/". $RT::VERSION . " " . $status);
+$m->out("RT/". $RT::VERSION . " " . $status ."\n\n");
 
 $m->out($output );
 </%INIT>



More information about the rt-users mailing list