xbmc/xbmc — pull request #2745 by Rawk (2013-05-13 21:32:23+00:00)
Title: Add URIUtils::HasExtension(..)

A common use case for URIUtils::GetExtension(..) is to see what extensions the file has. So i added a function for that.

* Hopefully a bit cleaner and more efficient
* Switched over as much code that i could find
* Gtest added
* Some extra cleaning in IDirectory::IsAllowed(..)