You are here |
akr.am | ||
| | | |
andre.arko.net
|
|
| | | | So first, I should probably set the scene: in a special-purpose browser, automated and driven by JavaScript, there was a string that made no sense. Anytime it should have contained an apostrophe, it produced invalid JSON. Why would it do that, you ask? Well, after far too long digging into the way that smart quotes are represented in Unicode, I finally figured it out. A single left apostrophe, also known as \u2019, takes up three bytes. The third byte happens to be \x19, the obscure ^Y control character. Control characters aren't allowed in JSON strings, and so things exploded. | |
| | | |
www.trickster.dev
|
|
| | | | Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting | |
| | | |
nick.zoic.org
|
|
| | | | ||
| | | |
benbrougher.tech
|
|
| | How to write bash if you know a little PowerShell |