Rémi Lapeyre added the comment:
This is not a valid cookie string and I think neither Django nor Nginx would
understand this cookie correctly.
On the other hand, per RFC 6265 the comma is a forbidden character in a cookie
value (https://tools.ietf.org/html/rfc6265#section-4.1.1
Rémi Lapeyre added the comment:
The reference given in
https://github.com/python/cpython/blob/b36b0a3765bcacb4dcdbf12060e9e99711855da8/Lib/http/server.py#L1074
is not accessible anymore.
I think we should replace it by https://tools.ietf.org/html/rfc3875#section-4.1
Change by Rémi Lapeyre :
--
keywords: +patch
pull_requests: +9752
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue23930>
___
___
Py
Rémi Lapeyre added the comment:
AUTH_TYPE, CONTENT_LENGTH, CONTENT_TYPE, REMOTE_USER are present
REMOTE_IDENT is not but I'm not sure it's worth adding.
I can send a PR to add REMOTE_HOST and remove the condition for QUERY_STRING.
Otherwise, I don't think the other enviro
Rémi Lapeyre added the comment:
This is indeed an issue with formataddr, it expects the input to be ascii
encoded as RFC 2822 requires.
Email is much more complicated though and has been internationalized, a summary
of this work is available at
https://en.wikipedia.org/wiki/Email_address
Rémi Lapeyre added the comment:
Hi Glenn, I'm not aware of a document that defines CGI better than the RFC and
I don't know it enough to disgress from the published standard (even if it is
not what isdone today as I don't know the current practices enough).
Here is the varia
501 - 506 of 506 matches
Mail list logo