| Issue 2948: | REST Api emits broken output | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: 2.10-rc0-596-g57bb722, 2.9.1 What steps will reproduce the problem? 1. `curl -v -H 'Accept: application/json' 'https://chromium-review.googlesource.com/changes/' > /tmp/changes.json` 2. First line in the file is `)]}'` breaking JSON decoding What is the expected output? What do you see instead? Expected: Valid JSON Seen: Leading characters breaking JSON Please provide any additional information below. This also happens with the »normal« output (`curl -v 'https://chromium-review.googlesource.com/changes/'`)
Oct 7, 2014
#1
kaeufli....@googlemail.com
Oct 7, 2014
Sorry, I didn't see the part about XSS
Oct 8, 2014
As you found out yourself, it works as designed.
Status:
Invalid
|
|
| ► Sign in to add a comment |