Page MenuHomeSoftware Heritage

D1442.id4689.diff
No OneTemporary

D1442.id4689.diff

diff --git a/swh/web/common/exc.py b/swh/web/common/exc.py
--- a/swh/web/common/exc.py
+++ b/swh/web/common/exc.py
@@ -7,7 +7,6 @@
from django.http import HttpResponse
from django.shortcuts import render
-from django.utils.safestring import mark_safe
from swh.web.config import get_config
@@ -58,7 +57,7 @@
return render(request, 'error.html',
{'error_code': error_code,
'error_message': http_status_code_message[error_code],
- 'error_description': mark_safe(error_description)},
+ 'error_description': error_description},
status=error_code)

File Metadata

Mime Type
text/plain
Expires
Nov 5 2024, 5:58 AM (8 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3229133

Event Timeline