Skip to content

Commit da2cc27

Browse files
committed
minor #8533 Removed deprecated proxy argument (spolischook)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #8533). Discussion ---------- Removed deprecated proxy argument Commits ------- f491418 Remove deprecated proxy argument
2 parents b02829e + f491418 commit da2cc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ explicitly trust your reverse proxies by calling ``setTrustedProxies()``::
258258

259259
Request::setTrustedProxies(array('10.0.0.1'));
260260

261-
if ($myIp === $request->getClientIp(true)) {
261+
if ($myIp === $request->getClientIp()) {
262262
// the client is a known one, so give it some more privilege
263263
}
264264

0 commit comments

Comments
 (0)