diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py
index 070874f..d84c3e0 100644
a
|
b
|
class MultiPartParser(object):
|
173 | 173 | if not file_name: |
174 | 174 | continue |
175 | 175 | file_name = force_text(file_name, encoding, errors='replace') |
176 | | file_name = self.IE_sanitize(unescape_entities(file_name)) |
| 176 | file_name = unescape_entities(file_name) |
177 | 177 | |
178 | 178 | content_type = meta_data.get('content-type', ('',))[0].strip() |
179 | 179 | try: |
… |
… |
class MultiPartParser(object):
|
258 | 258 | file_obj) |
259 | 259 | break |
260 | 260 | |
261 | | def IE_sanitize(self, filename): |
262 | | """Cleanup filename from Internet Explorer full paths.""" |
263 | | return filename and filename[filename.rfind("\\")+1:].strip() |
264 | | |
265 | 261 | class LazyStream(six.Iterator): |
266 | 262 | """ |
267 | 263 | The LazyStream wrapper allows one to get and "unget" bytes from a stream. |