Skip to content

Invalid IP #4

@AdamBrianBright

Description

@AdamBrianBright

UnitPay::checkHandlerRequest
Retrieving IP from $_SERVER['REMOTE_ADDR'] could lead to error while PROXY is being used on partner's site. For example: cloudflare.com.
It would be better to add optional $ip param to method and PROXY option in __constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions