Make WordPress Core

Ticket #41097: ignore-forwarded-header.patch

File ignore-forwarded-header.patch, 428 bytes (added by tomdxw, 9 years ago)

Remove HTTP_FORWARDED from list of headers to be parsed

  • wp-admin/includes/class-wp-community-events.php

    diff --git a/wp-admin/includes/class-wp-community-events.php b/wp-admin/includes/class-wp-community-events.php
    index 9a41459..a55c14c 100644
    a b class WP_Community_Events {  
    245245                        'HTTP_X_FORWARDED',
    246246                        'HTTP_X_CLUSTER_CLIENT_IP',
    247247                        'HTTP_FORWARDED_FOR',
    248                         'HTTP_FORWARDED',
    249248                        'REMOTE_ADDR',
    250249                );
    251250