goldsky / FileDownload-R

FileDownload snippet for MODX revolution
12 stars 7 forks source link

FileDownloadLink snippet: filenames containing commas #64

Open andreylubnin opened 5 years ago

andreylubnin commented 5 years ago

Hi! First thanks for the snippet, it really makes life simpler :)

After several years of using we've discovered a little issue: if filename ('getFile' parameter) contains one or several commas, the snippet returns nothing, even in &toArray=1 mode, regardless of using &mediaSource and internationalisation (yes, we use setlocale setting).

Could you please fix it if possible.