? ? Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
20 Sep 2018

Pull Request for Issue .
#22240 (comment)

Summary of Changes

added utf-8 encoding to the xml header

Testing Instructions

submit a export data privacy request
confirm the request
Privacy: Information Requests
export the confirmed export data request
screenshot from 2018-09-20 20-16-30
open the xml

Expected result

<?xml version="1.0" encoding="utf-8"?>
<data-export>
  <domain name="users" description="Joomla! users table data">
    <item id="385">
....

Actual result

<?xml version="1.0" ?>

Documentation Changes Required

avatar alikon alikon - open - 20 Sep 2018
avatar alikon alikon - change - 20 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Sep 2018
Category Administration
avatar JoomliC
JoomliC - comment - 20 Sep 2018

I have tested this item successfully on 904a1a6

Tested, and works successfully! ?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22285.

avatar JoomliC JoomliC - test_item - 20 Sep 2018 - Tested successfully
avatar infograf768
infograf768 - comment - 21 Sep 2018

I have tested this item successfully on 904a1a6

on review


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22285.

avatar infograf768 infograf768 - test_item - 21 Sep 2018 - Tested successfully
avatar infograf768 infograf768 - change - 21 Sep 2018
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 21 Sep 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22285.

avatar brianteeman
brianteeman - comment - 21 Sep 2018
avatar brianteeman
brianteeman - comment - 21 Sep 2018

Encoding Declaration
The encoding declaration identifies which encoding is used to represent the characters in the document. Although XML parsers can determine automatically if a document uses the UTF-8 or UTF-16 Unicode encoding, this declaration should be used in documents that support other encodings.

avatar infograf768
infograf768 - comment - 21 Sep 2018

which is exactly what may happen as we have no idea how these xmls are going to be treated. see @mbabker comment in the other pr.

avatar mbabker
mbabker - comment - 21 Sep 2018

Better safe than sorry here. Most of the XML is based on database content, unless we can be 100% certain that every export is going to only contain UTF-8 or UTF-16 encoded data this isn't harming anything.

avatar mbabker mbabker - change - 22 Sep 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-09-22 15:02:20
Closed_By mbabker
Labels Added: ? ?
avatar mbabker mbabker - close - 22 Sep 2018
avatar mbabker mbabker - merge - 22 Sep 2018

Add a Comment

Login with GitHub to post a comment