view website/issues/html/_generic.404.html @ 5725:6923225fd781

Handle UnicodeDecodeError in file class when file contents are not text (e.g. jpg). This shows up in python3 due to conversion from bytes to string. This allows binary file retrieval via the rest interface to complete.
author John Rouillard <rouilj@ieee.org>
date Wed, 22 May 2019 20:56:59 -0400
parents 8d595c5486c0
children
line wrap: on
line source

<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
  <title metal:fill-slot="head_title">
  Item Not Found
  </title>
  <tal:block metal:fill-slot="body_title">
  Item Not Found
  </tal:block>

<td class="content" metal:fill-slot="content">
    There is no <span tal:content="context/_classname" /> with id
    <span tal:content="context/id"/>
</td>
</tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/