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

The Location.hash property is also percent-encoded #37003

Open
yin1999 opened this issue Nov 27, 2024 · 1 comment
Open

The Location.hash property is also percent-encoded #37003

yin1999 opened this issue Nov 27, 2024 · 1 comment
Labels
Content:WebAPI Web API docs goal: accuracy (Experimental label) Issues about inaccurate/incorrect content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@yin1999
Copy link
Member

yin1999 commented Nov 27, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Location/hash

What specific section or headline is this issue about?

The description at the top of the document

What information was incorrect, unhelpful, or incomplete?

The hash property is also percent-encoded, try to navigate to https://developer.mozilla.org/en-US/docs/Web/API/Location/hash#%3E, and see the return value of location.hash, it would be #%3E, which is encoded.

What did you expect to see?

Correct the description. The encoding rule is given in the spec.

Do you have any supporting links, references, or citations?

See the spec:

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@yin1999 yin1999 added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Nov 27, 2024
@github-actions github-actions bot added the Content:WebAPI Web API docs label Nov 27, 2024
@T34-active
Copy link
Contributor

T34-active commented Nov 29, 2024

#37002

@caugner caugner added the goal: accuracy (Experimental label) Issues about inaccurate/incorrect content. label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs goal: accuracy (Experimental label) Issues about inaccurate/incorrect content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

3 participants