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(
5050 ) -> Union [str , bytes , None ]:
5151 """Get the value of a field."""
5252 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+ )
5456
5557 _debug_warning_nonencoded_output ()
5658 return self ._storage .get (field_name , [default ])[0 ]
@@ -374,4 +376,4 @@ def _debug_warning_nonencoded_output():
374376 "WARNING: Setting safe to False makes XSS vulnerabilities possible by "
375377 "allowing access to raw untrusted values submitted by users. If this data is reflected "
376378 "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