xen-org/xen-api — pull request #479 by robhoes (2012-02-16 16:54:54+00:00)
Title: CA-74209: fix incorrect trimming in Xmlrpc_sexpr module

The trim function cuts off 1 byte too many in case of a whitespace
character at the end of the string due to an incorrect use of String.sub.

Rather than fixing the trim function, we remove it and use a similar
function from Stringext instead.

Signed-off-by: Rob Hoes