Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
XSS vuln on beta.minecraft.net
(
mojang.com
)
1 point
by
_jomo
on Feb 19, 2016
|
hide
|
past
|
favorite
|
1 comment
_jomo
on Feb 19, 2016
[–]
Are there actually any valid use cases for this?
window.location.href = "javascript:..."
I assume there are hundreds of websites that also blindly pass a URL parameter to it. Most developers simply don't expect that a redirect is something they have to sanitize.
Why do browsers allow this at all?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Why do browsers allow this at all?