You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When integrating fileDownloadR, a wrong link / url is generated. The file names are displayed correctly. Part of the path is missing from the url/link parameter
My snippet call: [[!FileDownload? &dateFormat=d.m.Y &getDir=/test/ &countDownloads=1 &directLink=1 &toArray=1`
When integrating fileDownloadR, a wrong link / url is generated. The file names are displayed correctly. Part of the path is missing from the url/link parameter
My snippet call:
[[!FileDownload? &dateFormat=
d.m.Y&getDir=
/test/&countDownloads=
1&directLink=
1&toArray=
1`]]`
The output:
`Array
(
[file] => Array
(
[0] => Array
(
[ctx] => web
[fullPath] => /.../website/test/filename.pdf
[path] => /.../test
[filename] => filename.pdf
[alias] =>
[type] => file
[ext] => pdf
[size] => 1917547
[sizeText] => 1,83 MB
[unixdate] => 1617864995
[date] => 08.04.2021
[image] => /assets/components/filedownloadr/img/filetypes/document-pdf.png
[count] => 0
[link] => https://www.domain.de/filename.pdf
[url] => https://www.domain.de/filename.pdf
[hash] => ZwtmMzWvLJZ5ZJZ1BTMyMwyuAmxkAGywLzVkAwp0A2AuZGAwAQEwMQZmZ2WuZTLlLmN0ZGx4AwOwZTZmL2IyLwR5ZGpmAmp1AmH4A2L1AwpkLGAvAGMyBGN4MTMzZQR0LwqyLGH...wDkAJL=
[description] =>
)
)`
The /test/ folder is missing at url/link parameter.
ModX: 2.8.1
PHP: 7.4
FileDownload R: 2.0.0
The text was updated successfully, but these errors were encountered: