Remove double decoding code introduced by a2f0c6db3500e50052d102e75eaeec7bd5a2b449.
Merge pull request #2771 from ulion/remove_not_used_decoding_code

Remove double decoding code introduced by a2f0c6db3500e50052d102e75eaeec7bd5a2b449
Add URIUtils::HasExtension(..) functions
Use the new HasExtension(..) function
Cleanup IDirectory::IsAllowed(..)