dutchcoders / dutchcoders/goftp

cannot support ipv6

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
280
Forks
94
PR merge metrics
No merged PRs in 30d

Description

In the file ftp.go. The function newConnection "addr := fmt.Sprintf("%s:%d", strings.Split(ftp.addr, ":")[0], port)" cannot support ipv6.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in ftp.go at newConnection and inspect how ftp.addr is converted into the connection address. Reproduce the failure with an IPv6 address, then verify the connection works for both IPv4 and IPv6 endpoints; the issue is done when newConnection no longer misformats IPv6 addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.