fixed extension check
Merge pull request #65 from aogilvie/fix/ios-url-extension-check

fixed extension check