Bug 88420 - Invalid output when using special chars inside .policy files
Summary: Invalid output when using special chars inside .policy files
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-14 21:07 UTC by ariel.baras
Modified: 2018-08-20 21:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.