Hi Team:
If I change the subscribedChannels value to %7Bar (malformed json format) and send it to the server side, I get "com.jsomorphic.js.parser.ParseException..." in the response.
In a browser or send the following request using an intercepting proxy or similar software:
Request:
Response
The error message discloses the JSON parser class com.isomorphic.js.parser, which is part of the Isomorphic
SmartClient framework.
If I change the subscribedChannels value to %7Bar (malformed json format) and send it to the server side, I get "com.jsomorphic.js.parser.ParseException..." in the response.
In a browser or send the following request using an intercepting proxy or similar software:
Request:
GET
/xxxx/xxxx/messaging?&connectionID=foo&subscribedChannels=%7Bbar&eventStream=true
HTTP/1.1
...
/xxxx/xxxx/messaging?&connectionID=foo&subscribedChannels=%7Bbar&eventStream=true
HTTP/1.1
...
Response
HTTP/1.1 200 OK
Connection: close
Date: Mon, 31 Oct 2022 09:30:32 GMT
Content-Type: text/html;charset=utf-8
Set-Cookie: JSESSIONID=node08az8l4l85tojahrpt6matg5a463.node0;Path=/;Secure
Expires: Mon, 31 Oct 2022 09:30:32 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 158
parse failure: <BR>com.isomorphic.js.parser.ParseException: Encountered "<EOF>"
at line 1, column 21.<BR>Was expecting:<BR> ":" ...<BR>
Connection: close
Date: Mon, 31 Oct 2022 09:30:32 GMT
Content-Type: text/html;charset=utf-8
Set-Cookie: JSESSIONID=node08az8l4l85tojahrpt6matg5a463.node0;Path=/;Secure
Expires: Mon, 31 Oct 2022 09:30:32 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 158
parse failure: <BR>com.isomorphic.js.parser.ParseException: Encountered "<EOF>"
at line 1, column 21.<BR>Was expecting:<BR> ":" ...<BR>
The error message discloses the JSON parser class com.isomorphic.js.parser, which is part of the Isomorphic
SmartClient framework.
Comment