We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6238901 commit aef5edfCopy full SHA for aef5edf
Lib/http/cookiejar.py
@@ -674,9 +674,9 @@ def eff_request_host(request):
674
else:
675
is_ipV6 = False
676
if "." not in req_host and not is_ipV6:
677
- # avoid adding .local at the end of a IPV6 address
678
- # for the additional ".local", see RFC 2965 section 1
679
- # https://www.rfc-editor.org/rfc/rfc2965
+ # Avoid adding .local at the end of an IPv6 address.
+ # See RFC 2965 [1] for the rationale of ".local".
+ # [1]: https://www.rfc-editor.org/rfc/rfc2965
680
erhn = req_host + ".local"
681
return req_host, erhn
682
0 commit comments