]> Sergey Matveev's repositories - public-inbox.git/commit
allow HTTP_HOST to be '0' via defined() checks
authorEric Wong <e@yhbt.net>
Fri, 10 Jan 2020 09:14:16 +0000 (09:14 +0000)
committerEric Wong <e@yhbt.net>
Sat, 11 Jan 2020 06:32:08 +0000 (06:32 +0000)
commit8f4720a57d9c5746dcf53fa6c612350c744c2cd1
treeee36b17d0a3431ec2fd122bb9a3ff438e67f96f3
parentcb1c874520153f5c28a932959446977062c7db69
allow HTTP_HOST to be '0' via defined() checks

'0' is a valid value for HTTP_HOST, and maybe some folks
will want to hit that as port 80 where the HTTP client won't
send the ":$PORT" suffix.
lib/PublicInbox/Git.pm
lib/PublicInbox/HTTP.pm