Bug 88420

Summary: Invalid output when using special chars inside .policy files
Product: PolicyKit Reporter: ariel.baras
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED MOVED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description ariel.baras 2015-01-14 21:07:32 UTC
When using special characters (the ones that should start with an ampersand '&' and finish with semicolon ';') it only outputs the part after the semicolon. (eg: ' some text there')

This is part of the .policy file I'm trying with.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE policyconfig PUBLIC
     "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
     "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
    <policyconfig>

      <vendor>Some text here &amp; some text there</vendor>
      <vendor_url>http://example.com/</vendor_url>

      <action id="...">
        ...
      </action>

    </policyconfig>
Comment 1 GitLab Migration User 2018-08-20 21:35:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/20.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.