Tracker: Plugin Patches

5 Sessions: Bug 2872914 - Fix unicode chars in filepath - ID: 2886196
Last Update: Settings changed ( sjakob )

ParseUtilities.java uses it's own method encodeXML to create the state xml
files for Sessions. However, the org.gjt.sp.util.XMLUtilities class is used
to read those files in during session loading. encodeXML used the notation
\u0000 for each unicode character. SInce XMLUtilities parsing is just is a
wrapper for the SAX XMLReader parsing, it needs notation like � for
each unicode character. The old encoding method would result in incorrect
session states if any file in the state had a unicode character in the
path. See plugins bug 2872914 for more details.


Steve Gough ( ghostfly ) - 2009-10-25 23:47

5

Closed

Accepted

Steve Jakob

None

None

Public


Comments ( 2 )

Date: 2009-11-07 18:32
Sender: sjakob

Testing complete. No issues found.


Date: 2009-11-02 22:15
Sender: sjakob

Patch committed to repository (revision 16435). Requires further testing.


Attached File ( 1 )

Filename Description Download
Sessions_2872914.patch Download

Changes ( 6 )

Field Old Value Date By
status_id Open 2009-11-07 18:32 sjakob
allow_comments 1 2009-11-07 18:32 sjakob
close_date - 2009-11-07 18:32 sjakob
resolution_id None 2009-11-02 22:15 sjakob
assigned_to nobody 2009-11-02 22:15 sjakob
File Added 348161: Sessions_2872914.patch 2009-10-25 23:47 ghostfly