- From: Ersagun Kuruca <notifications@github.com>
- Date: Wed, 17 Aug 2016 05:06:36 -0700
- To: whatwg/url <url@noreply.github.com>
Received on Wednesday, 17 August 2016 12:07:07 UTC
The problem with using objects as maps is, JavaScript objects have special keys. It would be too easy for an attacker to write something like &__prototype__=null or &then=0 to force a certain behaviour. And JS objects will not stop getting more magical properties, because they are not maps already, it won't hurt to add another shiny feature with another magical property. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/143#issuecomment-240391971
Received on Wednesday, 17 August 2016 12:07:07 UTC