You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Gavin McDonald (Jira)" <ji...@apache.org> on 2022/04/17 17:34:00 UTC

[jira] (PIVOT-967) JSONSerializer doesn't correctly handle CR characters

    [ https://issues.apache.org/jira/browse/PIVOT-967 ]


    Gavin McDonald deleted comment on PIVOT-967:
    --------------------------------------

was (Author: JIRAUSER288137):
[agario|https://agario.id/] [agario|https://agario.miami/] [agario|https://agar.cc/] [agario|https://agario.org.uk/] [agario|https://agario.boston/] [agario modded|https://agariomodded.com/] [agario private server|https://agarprivateservers.org/] [agario online|https://agarioonline.org/] [agario online|https://agarioonline.live/] [agario private server|https://agarprivateservers.net/] [altyazılı film izle|https://altyazilifilm.cc/] [mmo forum|https://mt2.org/] [metin2 pvp serverler|https://mt2.org/forum/metin2-pvp-serverler/] [pvp serverler|http://emekserverler.com/] [metin2 pvp serverler|http://www.zafer2.com/] [metin2 pvp serverler|http://editsizserverler.org/] [metin2 pvp serverler|http://www.emekserverler.net/] [metin2 pvp serverler|http://emekserverler.com/metin2.html] [wslik pvp serverler|http://wslikserverler.net/] [wslik pvp serverler|https://www.emekserverler.net/wslik.html] [agario unblocked|https://agar.rip/] [agario unblocked|https://agario.nl/] [agario|https://agar.tv/] [agario private server|https://agario.in/] [agario unblocked|https://agariohub.cc/] [io games|https://a99io.com/] [altyazılı film izle|https://altyazilifilm.live/] [okey|https://realokey.com/] [okey oyna|https://onlineokeyoynaa.com/] [okey oyna|https://duzokeyoynaa.com/] [okey oyna|https://canliokeyoynaa.com/] [sohbet|https://www.sohbetk.com/] [okey net|https://okey-net.com/] [ankara okey|https://ankaraokey.org/] [izmir okey|https://izmirokey.com/] [istanbul okey|https://istanbulokey.net/] [agario unblocked|https://agariounblocked.org/] [agario game|https://agariogame.net/] [fnf mods|https://a99io.com/category/fnf-mods.html]

> JSONSerializer doesn't correctly handle CR characters
> -----------------------------------------------------
>
>                 Key: PIVOT-967
>                 URL: https://issues.apache.org/jira/browse/PIVOT-967
>             Project: Pivot
>          Issue Type: Bug
>          Components: core-serialization
>    Affects Versions: 2.0.4, 2.1, 2.0.5
>         Environment: All, but particularly Windows
>            Reporter: Roger Lee Whitcomb
>            Assignee: Roger Lee Whitcomb
>            Priority: Minor
>             Fix For: 2.1, 2.0.5
>
>         Attachments: 967.patch
>
>
> The JSON standard (see JSON.org) defines specific escape sequences for the following characters:  \b, \f, \n, \r, \t and \uxxxx for other control characters.  But the encoding logic in JSONSerializer doesn't match this list (particularly missing \r and not encoding other control characters using \uxxxx).  The "writeObject" method only recognizes \t and \n and does not encode any control character less than 0xFF.  The "readString" method seems a bit weird also in its handling of control characters in the input.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)