Project

General

Profile

Actions

Defect #21770

open

Preview does not work on non-ascii data input

Added by Anonymous over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The following content will break the preview option.

insert content of non-ascii_content.txt here

When opening the debug console in chrome, I can see the following:

4 jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4 Uncaught URIError: URI malformed
39 jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4 Uncaught URIError: URI malformede
 @ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4(anonymous function)
 @ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4m.extend.each
 @ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:2m.param
 @ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4m.fn.extend.serialize
 @ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4submitPreview
 @ application.js:414onclick
 @ new:320

Looks dangerous to me when user-content breaks the javascript. Obviously some parsing problems. There is probably some 0x00 in the content.


Files

non-ascii_content.txt (3.05 KB) non-ascii_content.txt Anonymous, 2016-01-20 14:05
Actions

Also available in: Atom PDF