Skip to content

Fix ipv6 parsing #12321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 26, 2020
Merged

Fix ipv6 parsing #12321

merged 6 commits into from
Jul 26, 2020

Conversation

42wim
Copy link
Member

@42wim 42wim commented Jul 24, 2020

Fixes #10138

[::1] in the original issue is not a correct ipv6 literal. Brackets may only be placed when also specifying a port.
This PR fixes the issue when you use ::1 for the HTTP_ADDR

Fixes #7509

Makes sure brackets are set when needed.

@42wim 42wim changed the title Fix ipv6 parsing WIP: Fix ipv6 parsing Jul 24, 2020
@42wim 42wim changed the title WIP: Fix ipv6 parsing Fix ipv6 parsing Jul 25, 2020
@lunny lunny added the type/enhancement An improvement of existing functionality label Jul 25, 2020
@lunny lunny added this to the 1.13.0 milestone Jul 25, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 25, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 25, 2020
@lafriks
Copy link
Member

lafriks commented Jul 25, 2020

🚀

@lafriks
Copy link
Member

lafriks commented Jul 26, 2020

🚀

@techknowlogick techknowlogick merged commit 4609eba into go-gitea:master Jul 26, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improper parsing of IPv6 literals from config file SSH address broken if IPv6 is used
7 participants