Skip to content

Wrong variables names #125

@yild

Description

@yild

Reffering to lines

$ports = 443;
}
elseif ( $protocol == 'ftp' ) {
$ports = 21;

Variable should be $port not $ports.

  • found this working on another PR.

Also, code for URL validation might be outdated by technology/security progress, i.e. cant validate URL for release file https://github.com/jmcameron/attachments/releases/download/v4.1.2/attachments-4.1.2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions