Skip to main content

Upload Functionality Is Broken (XML External Entities Lesson)

Rachel Yonan avatar
Written by Rachel Yonan
Updated over 3 years ago

Issue:

The normal expected functionality with the Bulk Upload functionality in the sandbox app is broken.

Test 1:

Try uploading a file with the following:

<?xml version="1.0" encoding="ISO-8859-1"?>
  <Users>
      <User>
          <Name>John Doe</Name>
          <Email>johndoe@gmail.com</Email>
      </User>
      <User>
          <Name>Alice Anderson</Name>
          <Email>alice.anderson@gmail.com</Email>
      </User>
      <User>
          <Name>Bob Brown</Name>
          <Email>bob.brown@gmail.com</Email>
      </User>
  </Users>

Does it work as expected? Does this work as it did before you made changes?

Test 2:

Try uploading a file with the following:

<?xml version="1.0" encoding="ISO-8859-1"?>
  <Users>
      <User>
          <Name>outkast</Name>
      </User>
      <User>
          <Name>eve</Name>
      </User>
  </Users>

Does it work as expected? Does this work as it did before you made changes? 

Did this answer your question?