[issue23930] http.cookies.SimpleCookie doesn't parse comma-only separated cookies correctly

2018-11-10 Thread Rémi Lapeyre
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

[issue10486] http.server doesn't set all CGI environment variables

2018-11-12 Thread Rémi Lapeyre
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

[issue23930] http.cookies.SimpleCookie doesn't parse comma-only separated cookies correctly

2018-11-12 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +9752 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue23930> ___ ___ Py

[issue10486] http.server doesn't set all CGI environment variables

2018-11-12 Thread Rémi Lapeyre
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

[issue35222] email.utils.formataddr is not exactly the reverse of email.utils.parseaddr

2018-11-12 Thread Rémi Lapeyre
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

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Rémi Lapeyre
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

<    1   2   3   4   5   6