Changes between Initial Version and Version 1 of Ticket #27379, comment 2


Ignore:
Timestamp:
Oct 24, 2016, 11:54:19 AM (8 years ago)
Author:
Florian Apolloner

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27379, comment 2

    initial v1  
    4242}}}
    4343
    44 Django chooses not to honour this request cause the host-header is not configured as it expects it too. This is a valid reason to reject the request, cause after all a valid client MUST send a valid host-header and technically is not allowed to send a full request URI. So unless there is any evidence that this has legitimate use cases, I suggest we leave it as is to keep the code simple. Another interesting sidenote: How is the server supposed to know if `http://example.com` is a full URI or actually a path named `http://example.com`?
     44Django chooses not to honour this request cause the host-header is not configured as it expects it too. This is a valid reason to reject the request, cause after all a valid client MUST send a valid host-header and technically is not allowed to send a full request URI. So unless there is any evidence that this has legitimate use cases, I suggest we leave it as is to keep the code simple.
Back to Top