TAG | json
Ace is a standalone code editor written in JavaScript. The goal is to create a web based code editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. Ace can be easily embedded in any web page and JavaScript application. Ace is developed as the [...]
Try running this piece of javascript, it would throw a “URI malformed” exception. javascript:alert(decodeURIComponent(escape(’http://rushis.com/®’))); The ® character is transformed to %AE, which is not a valid input to decodeURIComponent function. This issue is clearly evident in the latest prototype js 1.6 framework. _getHeaderJSON: function() { var json = this.getHeader(’X-JSON’); if (!json) return null; json = [...]
