Explicitly trust `x-forwarded-proto` for Diactoros' ServerRequest
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 30 Jun 2022 08:49:42 +0000 (10:49 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 30 Jun 2022 08:49:42 +0000 (10:49 +0200)
commit2aab2c8c84fb9d4aecf8b083002e691f468d9058
treee058c0529eba82fa4271e7d92ee28349fdf9fb42
parent460e1536d224d2c01e13308474e7c716da1965b8
Explicitly trust `x-forwarded-proto` for Diactoros' ServerRequest

This is required to future-proof the Diactoros configuration to be consistent
with RouteHandler::secureConnection().

see https://github.com/laminas/laminas-diactoros/blob/c272a93fc716456599d26bf7cc3281ccb708dabf/docs/book/v2/forward-migration.md
wcfsetup/install/files/lib/system/request/RequestHandler.class.php