Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3098 closed defect (fixed)

[JsonItemStore] ComboBox mimetype

Reported by: guest Owned by: Jared Jurkiewicz
Priority: low Milestone: 0.9beta
Component: Data Version: 0.9
Keywords: ComboBox mimetype json Cc: cdupetit@…
Blocked By: Blocking:

Description (last modified by haysmark)

Hello, The ComboBox? mimetype is set to 'text/json' insteed of 'text/json-comment-filtered'. This fact produced many warning message.

haysmark: check the console when you load and test http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Select.html

You will see the message "please consider using a mimetype of text/json-comment-filtered to avoid potential security issues with JSON endpoints"

This is just JsonItemStore?, not AutoCompleter?. It's a minor issue because our JSON store implementation does not load [] data.

Attachments (2)

dojo.data_JsonItemStore_20070531.2.patch (5.9 KB) - added by Jared Jurkiewicz 12 years ago.
Minor patch to add in support for comment filtered Json for secure data.
dojo.data_JsonItemStore_20070531.patch (5.9 KB) - added by Jared Jurkiewicz 12 years ago.
Minor patch to add in support for comment filtered Json for secure data.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by bill

Owner: changed from bill to haysmark

comment:2 Changed 12 years ago by haysmark

Component: DijitData
Description: modified (diff)
Owner: changed from haysmark to Jared Jurkiewicz
Priority: normallow
Summary: ComboBox mimetype[JsonItemStore] ComboBox mimetype

ComboBox? does not set the mimetype; otherwise it would be called JsonComboBox?. This warning is created by JsonItemStore?.

Reassigned to dojo.data.

comment:3 Changed 12 years ago by Jared Jurkiewicz

Milestone: 0.9beta
Version: 0.4.2rc10.9

comment:4 Changed 12 years ago by Jared Jurkiewicz

Status: newassigned

Changed 12 years ago by Jared Jurkiewicz

Minor patch to add in support for comment filtered Json for secure data.

Changed 12 years ago by Jared Jurkiewicz

Minor patch to add in support for comment filtered Json for secure data.

comment:5 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: assignedclosed

(In [8832]) Committing in fix for warning about comment filtered Json in JsonItemStore?. fixes #3098

comment:6 Changed 12 years ago by Jared Jurkiewicz

Tested to work on:

Windows:

IE 6.0 IE 7.0 Firefox 2.0.0.4 Firefox 1.5.0.11 SeaMonkey? 1.1.1 Opera 9.2

Linux (x86):

Firefox 2.0.0.3

OS-X:

WebKit?. Firefox 2.0.0.3

Note: See TracTickets for help on using tickets.