#81 ✓resolved
Tomas Franzén

XML plist parser chokes on some values

Reported by Tomas Franzén | September 30th, 2008 @ 01:15 PM | in 0.6

The XML property list parser chokes on some values, for example strings ending with a percent character. This is because string values are run through decodeURIComponent (Objective-J.js, line #654), and they should not be.

Example:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<key>foo</key>
<string>100%</string>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages