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
Reffering to lines
attachments/attachments_component/site/src/Helper/AttachmentsHelper.php
Lines 1011 to 1014 in 53ee9fd
Variable should be $port not $ports.
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