Ticket #16203: 16203.diff

File 16203.diff, 598 bytes (added by Dmitry Jemerov, 13 years ago)
  • django/core/servers/basehttp.py

     
    189189        """
    190190        relative_url = url[len(self.base_url[2]):]
    191191        relative_path = urllib.url2pathname(relative_url)
    192         return safe_join(self.base_dir, relative_path)
     192        return os.path.normcase(safe_join(self.base_dir, relative_path))
    193193
    194194    def serve(self, request):
    195195        document_root, path = os.path.split(self.file_path(request.path))
Back to Top