Upgrading from RT 3.8.7 to 3.8.10 revealed a bug in the Ruby rt-client library.

In several places, the following regular expression is used in client.rb:

resp.gsub!(/RT\/\d\.\d\.\d\s\d{3}\s.*\n\n/,"") # toss the HTTP response

but that does not catch 3.8.10.   It could/should be:

resp.gsub!(/RT\/\d\.\d\.\d+\s\d{3}\s.*\n\n/,"") # toss the HTTP response

I tested this simple fix and it works here.

Thanks,
Thierry Thelliez
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011

Reply via email to