joomla / joomla-framework

[READ-ONLY] This repo is no longer in active development. Please see https://github.com/joomla-framework for the individual Framework packages.
http://framework.joomla.org
GNU General Public License v2.0
189 stars 140 forks source link

Set Input\Cli default filter to "string" #344

Closed asika32764 closed 10 years ago

asika32764 commented 10 years ago

In CLI mode, if we type:

cli.php -a "foo bar"

The $input->get('a') will return foobar, but we may hope it be foo bar.

I think we can set default filter to string instead cmd in CLI Input, because I guess that there won't have security issue with input value if someone using CLI to operate system.

dongilbert commented 10 years ago

I think this is a safe assumption. What do you think @eddieajau?