Skip to content

Commit

Permalink
Do not convert entities in the file editor (see #1075).
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi authored and leofeyer committed Sep 15, 2017
1 parent 8f44653 commit 3f933aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Resources/contao/drivers/DC_Folder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1935,8 +1935,7 @@ public function source()
// Process the request
if (\Input::post('FORM_SUBMIT') == 'tl_files')
{
// Restore the basic entities (see #7170)
$strSource = \StringUtil::restoreBasicEntities(\Input::postRaw('source'));
$strSource = \System::getContainer()->get('request_stack')->getCurrentRequest()->request->get('source');

// Save the file
if (md5($strContent) != md5($strSource))
Expand Down

0 comments on commit 3f933aa

Please sign in to comment.