Gregor Harlan c1e2633687 parse input before using dirname() (#1545)
* parse input of dirname()

* tests

* changelog
2018-02-14 15:44:35 +07:00
..
2018-01-02 18:13:28 +07:00