Skip to content
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

netutil: allow using * to match any hostname #7111

Merged
merged 2 commits into from
Jul 25, 2022
Merged

Conversation

unknwon
Copy link
Member

@unknwon unknwon commented Jul 25, 2022

Describe the pull request

Allow using * as an escape hatch for all local network address.

Link to the issue: #7048 (comment)

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code.

@unknwon unknwon requested a review from a team July 25, 2022 12:46
@unknwon unknwon added this to the 0.12.10 milestone Jul 25, 2022
@codecov
Copy link

codecov bot commented Jul 25, 2022

Codecov Report

Merging #7111 (e133b15) into main (a5d3e19) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #7111   +/-   ##
=======================================
  Coverage   11.76%   11.76%           
=======================================
  Files         106      106           
  Lines       13619    13619           
=======================================
  Hits         1602     1602           
  Misses      11812    11812           
  Partials      205      205           

@unknwon unknwon changed the title netutil: allow using "*" to match any hostname netutil: allow using * to match any hostname Jul 25, 2022
@unknwon unknwon merged commit db82024 into main Jul 25, 2022
@unknwon unknwon deleted the jc/allow-all-local-hostname branch July 25, 2022 13:38
unknwon added a commit that referenced this pull request Aug 2, 2022
# Conflicts:
#	internal/netutil/netutil_test.go
@unknwon
Copy link
Member Author

unknwon commented Aug 2, 2022

The 0.12.10 has been released that includes the patch of the reported issue.

dna2github pushed a commit to dna2fork/gogs that referenced this pull request May 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants