This PR allows the X-Title header received from thumbnail cache to be JSON-encoded as a way to transmit unicode characters.
This doesn't replace the raw ASCII format (yet), only decodes the header as JSON if it starts & ends with a ", then checks if a string was decoded (so we don't accidentally end up decoding an object or something like that)
This is the client-side part for solving ajayyy/DeArrowThumbnailCache#3. Server-side part is in ajayyy/DeArrowThumbnailCache#9.
To test this pull request, follow the instructions in the wiki.
This PR allows the X-Title header received from thumbnail cache to be JSON-encoded as a way to transmit unicode characters. This doesn't replace the raw ASCII format (yet), only decodes the header as JSON if it starts & ends with a
"
, then checks if a string was decoded (so we don't accidentally end up decoding an object or something like that)This is the client-side part for solving ajayyy/DeArrowThumbnailCache#3. Server-side part is in ajayyy/DeArrowThumbnailCache#9.