symphonycms/symphony-2 — pull request #1987 by andrewminton (2014-03-25 23:17:44+00:00)
Title: Change to using filename from basename

https://github.com/symphonycms/symphony-2/pull/1975

Swap `basename` for `filename` to avoid files having their extension added to their name on save: filename-jpg.jpg is created if `basename` is used.