Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wsgi: Fixed incorrect parsing of ipv6 addresses in access log
Granian is setting REMOTE_ADDR values using SocketAddr::to_string() which uses the format <host>:<port> and ipv6 addresses are delimited internally by colons, so the port that needs to be stripped must be taken from the right and there must only be one split done to avoid splitting the ipv6 address.
- Loading branch information