#7022 UnicodeDecodeError on side-by-side diff text

v1.1.0
closed
nobody
42cc (432)
General
Cory Johns
2015-08-20
2014-01-02
No

There are a variety of repos that can trigger this, one example is at https://sourceforge.net/p/smpf/smpf/146/tree/trunk/Client/Model/Menus.cs?diff=515be58eea406b647df7ff4f:145&diformat=sidebyside

File '/var/local/allura/Allura/allura/templates/repo/diff.html', line 69 in block "content"
  {{diff|safe}}
File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/filters.py', line 705 in do_mark_safe
  return Markup(value)
File '/var/local/env-allura/lib/python2.7/site-packages/MarkupSafe-0.15-py2.7-linux-x86_64.egg/markupsafe/__init__.py', line 71 in __new__
  return unicode.__new__(cls, base)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 4090: ordinal not in range(128)

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-01-06
    • Labels: --> 42cc
    • Status: open --> in-progress
     
  • Igor Bondarenko

    Igor Bondarenko - 2014-01-23
    • status: in-progress --> code-review
     
  • Igor Bondarenko

    Igor Bondarenko - 2014-01-23

    Closed #519. je/42cc_7022

     
  • Cory Johns

    Cory Johns - 2014-01-23
    • QA: Cory Johns
     
  • Cory Johns

    Cory Johns - 2014-01-23
    • status: code-review --> validation
    • Milestone: forge-backlog --> forge-jan-24
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-24
    • status: validation --> closed
     

Log in to post a comment.