1. Matthew Schinckel
  2. django-rest-api

Commits

Matthew Schinckel  committed 1354c58

More sanitization from Alphatykes

  • Participants
  • Parent commits 7cdc251
  • Branches default

Comments (0)

Files changed (1)

File rest_api/serializers/__init__.py

View file
     ('\x92', "'"),
     ("\x93", '\\"'),
     ("\x94", '\\"'),
+    ("\xa0", ' '),      # Non-breaking space, I think
 )
 
 def serialize(queryset, format=None, **kwargs):