mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[PR #85] [MERGED] config: update listen regex to allow IPv6 addresses #433
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#433
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/axllent/mailpit/pull/85
Author: @ghost
Created: 4/9/2023
Status: ✅ Merged
Merged: 4/12/2023
Merged by: @axllent
Base:
develop← Head:ipv6📝 Commits (1)
c8d8fe9config: update listen regex to allow IPv6 addresses📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
config/config.go(+3 -3)📄 Description
The current regex for validating SMTP/HTTP listen addresses doesn't allow for IPv6 addresses.
This tweak changes the default to listen on both v4 and v6 by default, and updates the regexp so that it matches v4 and v6.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.