Breaking-65727-DontProvideAccessToLocalpathOfFalFiles.rst 1.15 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14

.. include:: ../../Includes.txt

=================================================================
Breaking: #65727 - Don't provide access to localPath of FAL files
=================================================================

See :issue:`65727`

Description
===========

It was possible to retrieve the local path of a FAL file via TypoScript

15
.. code-block:: typoscript
16

17
18
   a = TEXT
   a.value.data = file:current:localPath
19
20

The localPath property has been dropped for the following reasons:
21

22
* The implementation used allow write access to the file and hence created a local copy which created useless file garbage.
23

24
25
* Changing this to read-only access would cause the LocalDriver to return the true local path to the file, which would
  open the possibility to file manipulation via "side channel" of FAL. This would make the FAL data inconsistent.
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43


Impact
======

Any TypoScript using this file-property will stop working.


Affected Installations
======================

Any installation with TypoScript using this file-property


Migration
=========

There is no other possibility to retrieve this information. Use the FAL API.
44
45
46


.. index:: FAL, TypoScript, Frontend