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

Warning link doesn't point to anything anymore #3938

Closed
TeaDrinkingProgrammer opened this issue Apr 28, 2024 · 1 comment · Fixed by #3945
Closed

Warning link doesn't point to anything anymore #3938

TeaDrinkingProgrammer opened this issue Apr 28, 2024 · 1 comment · Fixed by #3945

Comments

@TeaDrinkingProgrammer
Copy link

The following warning points to a nonexistent link:

[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.

Environment

  • go version: 1.22.2
  • gin version (or commit ref): v1.9.1
  • operating system: Linux
@snowdusk
Copy link

Readme's git logs show that
'Don't trust all proxies' was added on commit 2d3d6d2 (2021/10/24)
and was removed on commit 82e1c53 (2023/01/02, messags is 'docs(readme): move more example to docs/doc.md')
So readme-don-t-trust-all-proxies is https://github.com/gin-gonic/gin/blob/master/docs/doc.md#dont-trust-all-proxies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants