f3-factory / fatfree-core

Fat-Free Framework core library
GNU General Public License v3.0
207 stars 88 forks source link

Set PORT to 80 when SERVER_PORT is an empty string #301

Closed sorbits closed 4 years ago

sorbits commented 4 years ago

This fixes Base::reroute when a server provides an empty string for SERVER_PORT, which is currently the case for Caddy v2.1.1.

Closes bcosca/fatfree#1194