User tests: Successful: Unsuccessful:
The problem is related to input filter when i try to get a filepath from cli parameters like:
./joomla-cli-aplication --file directory/file.csv
The current CMD filter remove the / slash
Hi guys,
What's the status on this one? Does it need a tracker item?
Although the CMD filter is the default filter, you should be able to use another filter type to get the data you need. It doesn't look like anything is filtered before you request it from JInput, so I'm thinking you could use
$input->getPath('file');
or$input->get('file', '', 'path');
to get what you need.