mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-25 01:51:21 +01:00
[ticket/15172] Cast port to integer
PHPBB3-15172
This commit is contained in:
parent
f6b8f69e7e
commit
7b489638d7
@ -1661,7 +1661,7 @@ function generate_board_url($without_script_path = false)
|
||||
}
|
||||
else
|
||||
{
|
||||
$server_port = $symfony_request->getPort();
|
||||
$server_port = (int) $symfony_request->getPort();
|
||||
|
||||
$forwarded_proto = $request->server('HTTP_X_FORWARDED_PROTO');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user