dcramer/django-sentry — Issue #259: ZERO WIDTH SPACE additions in expanded Local Vars, Value column
Author: erlkonig
Created: 2011-10-26 22:26:48+00:00
State: open

Sentry 1.13.1

Sentry tracebacks are apparently inserting Unicode ZERO WIDTH SPACE into the text at (to us) arbitrary locations. A line from an expanded Local Vars section, Value column, that appeared to contain the simple text string 'promotion-for-travelocity-hotel-gift-card-1' actually contained "'p\\xe2\\x80\\x8bromotion-f\\xe2\\x80\\x8bor-travelo\\xe2\\x80\\x8bcity-hotel\\xe2\\x80\\x8b-gift-card\\xe2\\x80\\x8b-1'" (as shown by Python repr()). Another appeared to contain "datetime.​date(2011,​ 10, 1)", but in actually had
"'datetime.\\xe2\\x80\\x8bdate(2011,\\xe2\\x80\\x8b 10, 1)'".