User tests: Successful: Unsuccessful:
Test code:
$filter = JFilterInput::getInstance();
var_dump($filter->clean('/path/to/joomla-cms/index.php', 'path'));Expected Result: '/path/to/joomla-cms/index.php'
Actual Result: ''
Apply patch and re-test
Travis-CI job which should show unit test failure - https://travis-ci.org/mbabker/joomla-cms/builds/43885074
Travis-CI job which should pass with patch (in addition to the job for this PR 
 ) - https://travis-ci.org/mbabker/joomla-cms/builds/43885122
| Labels | 
                                        Added: 
?
 | 
    ||
| Category | ⇒ | Libraries | 
| Status | Pending | ⇒ | Closed | 
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-12-13 07:41:49 | 
Simple fix. Merging based on review and Travis.
Thanks!