Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

XML plist parser chokes on some values

#81

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>

Reported by Tomas FranzĂ©n · September 30th, 2008 @ 01:15 PM

State: resolved
Milestone: 0.6
Assigned to: Francisco Tolmasky Francisco Tolmasky

Activity

  1. Francisco Tolmasky
    Francisco Tolmasky
    • Assigned user set to Francisco Tolmasky
    • Milestone set to 0.6

    OK, fixed, at the expense of possibly breaking old plists.

    November 15th, 2008 @ 12:57 AM

  2. admin (at 280north)
    admin (at 280north)
    • State changed from new to resolved

    (from [cb7c8046e41a19cf8bda5116119994e7e0ad0081]) Fix for plist URL encoding instead of HTML entity encoding.

    [#81 XML plist parser chokes on some values state:resolved]

    Reviewed by me. http://github.com/280north/cappu...

    November 15th, 2008 @ 12:58 AM

  3. Francisco Tolmasky

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.