Pending

User tests: Successful: Unsuccessful:

avatar fastslack
fastslack
17 Apr 2013

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

avatar fastslack fastslack - open - 17 Apr 2013
avatar mbabker
mbabker - comment - 17 Apr 2013

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.

avatar nicksavov
nicksavov - comment - 23 Apr 2013

Hi guys,

What's the status on this one? Does it need a tracker item?

Add a Comment

Login with GitHub to post a comment