nextcloud / files_antivirus

👾 Antivirus app for Nextcloud Files
https://apps.nextcloud.com/apps/files_antivirus
GNU Affero General Public License v3.0
84 stars 35 forks source link

IPv6 address is not recognized as a host to connect #188

Closed toxadx closed 1 year ago

toxadx commented 3 years ago

files_antivirus does not connect to IPv6 host. But if host is set by domain name, than files_antivirus connects by IPv6

Steps to reproduce

  1. Specify IPv6 address as host of ClamAV Daemon. e.g 2a02:6b8::2:1
  2. Save configuration.

Expected behaviour

files_antivirus connects to the daemon by IPv6.

Actual behaviour

Nothing happens.

Server configuration

Operating system: OpenBSD

Web server: nginx

Database: PostgreSQL

PHP version: 7.4

Nextcloud version: (see Nextcloud admin page) 20.0.3

Where did you install Nextcloud from: OpenBSD packages

Client configuration

Browser: Firefox

Operating system: OpenBSD

Logs

Nextcloud log (data/owncloud.log)

No logs

Browser log

No logs

st3iny commented 1 year ago

IPv6 addressed have to be specified in square brackets.

Please surround the address with brackets and try again (e.g. [2a02:6b8::2:1]).