mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
Fix a typo in preamble X-Forwarded-For psuedocode
Summary: This psueudocode should use the result of computation at the end. Test Plan: Read carefully. Differential Revision: https://secure.phabricator.com/D20813
This commit is contained in:
parent
3dcb4a7b50
commit
c5a4dea8cf
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
|||
|
||||
$real_address = your_custom_parsing_function($raw_header);
|
||||
|
||||
$_SERVER['REMOTE_ADDR'] = $raw_header;
|
||||
$_SERVER['REMOTE_ADDR'] = $real_address;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue