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

Issue with the Code of Conduct in Readme.md redirecting to a 422: Unprocessable Entity #13407

Closed
gSayak opened this issue Feb 6, 2024 · 2 comments
Labels
C-bug Category: bug S-triage Status: This issue is waiting on initial triage.

Comments

@gSayak
Copy link

gSayak commented Feb 6, 2024

Problem

Right now the code-of-conduct link in the Readme.md in the master branch redirects to:
https://www.rust-lang.org/conduct.html

which results in an:

**422: Unprocessable Entity
The request was well-formed but was unable to be followed due to semantic errors.**

It should have redirected to: https://www.rust-lang.org/policies/code-of-conduct

Fixed this issue in the Readme.md by making a new branch and will be linking the PR to this issue

Steps

  1. Go to https://github.com/rust-lang/cargo
  2. Check the readme.md and click on Code of Conduct
  3. Click on the hyperlink of can be found online
  4. This would redirect to a 422: Unprocessable Entity

Possible Solution(s)

Can fix the issue by changing the link to Code-of-Conduct

Notes

No response

Version

No response

@gSayak gSayak added C-bug Category: bug S-triage Status: This issue is waiting on initial triage. labels Feb 6, 2024
@gSayak
Copy link
Author

gSayak commented Feb 6, 2024

Solved the issue and sent the PR #13408

@weihanglo
Copy link
Member

This has been fixed in rust-lang/www.rust-lang.org#1924.

Redirections in staging website work now: https://www-staging.rust-lang.org/conduct.html. When the next deployment of the production website is done, this should be resolved. Thank you for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug S-triage Status: This issue is waiting on initial triage.
Projects
None yet
Development

No branches or pull requests

2 participants