Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066329
D1442.id4689.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
655 B
Subscribers
None
D1442.id4689.diff
View Options
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
Details
Attached
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
Attached To
D1442: swh-web: Fix XSS
Event Timeline
Log In to Comment