[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16139361#comment-16139361
 ] 

ASF subversion and git services commented on ASTERIXDB-2047:
------------------------------------------------------------

Commit 52528555e1f18a41a9ea55b8cf19d1f382be795d in asterixdb's branch 
refs/heads/master from [~idleft]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=5252855 ]

[ASTERIXDB-2047][UI] Escape special entities in HTML result delivery

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Escape HTML special entities to make sure we don't have fancy HTML
  style display with user data.

Change-Id: I7aa05fe39b7a1f755574c4f49fd9694239078586
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1949
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>
Integration-Tests: Jenkins <[email protected]>


> Strange/wrong behavior in console with Formatted JSON and multiple statements
> -----------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2047
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2047
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: *DB - AsterixDB, UI - Web Interface
>            Reporter: Michael J. Carey
>            Assignee: Xikui Wang
>
> Consider running the following kind of statement sequence two ways - first 
> with unformatted and with formatted JSON.  With larger JSON objects than this 
> unsuccessful repro attempt, sometimes the formatted version doesn't show all 
> of the returned data from the query.  Also, it leaves the browser in a bad 
> way so that it no longer reliably shows all of the results of subsequent 
> queries.  
> DELETE FROM foo;
> SELECT s FROM foo s;
> INSERT INTO foo
> {
>   "key": "xxx123",
>   "class": "CS122a",
>   "content": {
>     "DateFrom": "Jan 31, 2012",
>     "DateTo": "Apr 09, 2013"
>   }
> };
> SELECT s FROM foo s;
> INSERT INTO foo
>   {
>     "rec": {
>       "binary": false,
>       "class": "CS122b",
>       "content": {
>         "backOrder": false,
>         "frontOrder": true,
>         "width": 100
>       },
>       "multiplicationKey": "12"
>     }
>   };
> SELECT s FROM foo s;



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to