[ https://issues.apache.org/jira/browse/KNOX-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823147#comment-17823147 ]
ASF subversion and git services commented on KNOX-2995: ------------------------------------------------------- Commit bd3972d94b30a96d55035b93746e975bdd02d599 in knox's branch refs/heads/master from berylzsh [ https://gitbox.apache.org/repos/asf?p=knox.git;h=bd3972d94 ] KNOX-2995 - Support json parsing NaN values (#828) --------- Co-authored-by: zhaoshuaihua <zhaoshuai...@kingsoft.com> > json contains NaN value parsing failed > -------------------------------------- > > Key: KNOX-2995 > URL: https://issues.apache.org/jira/browse/KNOX-2995 > Project: Apache Knox > Issue Type: Bug > Components: Server > Affects Versions: 2.0.0, 1.6.0 > Reporter: zhaoshuaihua > Priority: Major > Attachments: KNOX-2995.patch, screenshot-1.png, screenshot-2.png, > screenshot-3.png > > Time Spent: 1h 20m > Remaining Estimate: 0h > > If the proxy address returns JSON, which contains something similar to xxx: > NaN, then knox will fail to parse. Therefore, support for parsing NaN is > added. > I click on the page with return json and the content of Resopnse is empty. > like this : !screenshot-1.png! > > Checking the gateway.log log shows the following error message. > !screenshot-2.png! > The display results after my repair are as follows: > !screenshot-3.png! > > -- This message was sent by Atlassian Jira (v8.20.10#820010)