File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ def get(
50
50
) -> Union [str , bytes , None ]:
51
51
"""Get the value of a field."""
52
52
if safe :
53
- return self ._encode_html_entities (self ._storage .get (field_name , [default ])[0 ])
53
+ return self ._encode_html_entities (
54
+ self ._storage .get (field_name , [default ])[0 ]
55
+ )
54
56
55
57
_debug_warning_nonencoded_output ()
56
58
return self ._storage .get (field_name , [default ])[0 ]
@@ -374,4 +376,4 @@ def _debug_warning_nonencoded_output():
374
376
"WARNING: Setting safe to False makes XSS vulnerabilities possible by "
375
377
"allowing access to raw untrusted values submitted by users. If this data is reflected "
376
378
"or shown within HTML without proper encoding it could enable Cross-Site Scripting."
377
- )
379
+ )
You can’t perform that action at this time.
0 commit comments