Skip to content

Proxy-Port validation does not work #108

@hit-enjoyit

Description

@hit-enjoyit

I tried to use the package with an proxy-port but the preg_match validation failed in Mpay24Config.php:

The validtion if the port is numeric has an issue:
is:
if ($proxyPort != null && preg_match('/^d{4}$/', $proxyPort) !== 1) {

but should be:
if ($proxyPort != null && preg_match('/^\d{4}$/', $proxyPort) !== 1) {

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