Opened 8 years ago

Closed 8 years ago

#27948 closed Bug (fixed)

Static serving views do incorrect unquote()ing of path

Reported by: Florian Apolloner Owned by: nobody
Component: contrib.staticfiles Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

views.static.serve() and contrib.staticfiles.views() both unquote() the path which doesn't allow accessing files with names like %2F.jpg.

Change History (2)

comment:1 by Tim Graham, 8 years ago

Has patch: set

comment:2 by GitHub <noreply@…>, 8 years ago

Resolution: fixed
Status: newclosed

In b536dcf6:

Fixed #27948 -- Removed incorrect unquote() in static serving views.

Note: See TracTickets for help on using tickets.
Back to Top