The Location.hash
property is also percent-encoded
#37003
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.
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 tohttps://developer.mozilla.org/en-US/docs/Web/API/Location/hash#%3E
, and see the return value oflocation.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
en-us/web/api/location/hash
The text was updated successfully, but these errors were encountered: