gallery/gallery3 — pull request #132 by shadlaws (2013-02-10 01:31:44+00:00)
Title: #2000 - Make legal_file::smash_extensions more robust.

- Fixed legal_file::smash_extensions.
- Added new unit test.
- Removed duplicated condition in existing unit test.