﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1484	CLI: overzealous quoting of error messages	davidsarah	davidsarah	"When the CLI prints error messages from the gateway (mainly, but not always, in [source:src/allmydata/scripts/common_http.py@4538#L74 format_http_error]), it does so using {{{quote_output(message, quotemarks=False)}}}. This would be correct if the message were expected to be a single line, but since it is usually multi-line, the LFs are treated as control characters and escaped as {{{\x0a}}}. For example:

{{{
Error: 500 Internal Server Error
""Traceback (most recent call last):\x0aFailure: allmydata.mutable.common.UncoordinatedWriteError: \x0a""
}}}
instead of the intended (albeit still ugly for other reasons):
{{{
Error: 500 Internal Server Error
Traceback (most recent call last):
Failure: allmydata.mutable.common.UncoordinatedWriteError:
}}}"	defect	closed	major	1.10.0	code-frontend-cli	1.8.2	fixed	error quoting escaping regression usability reviewed		
