Share on items which dont have extension got StringIndexOutOfBoundException

Share on items which dont have extension got StringIndexOutOfBoundException
Merge pull request #2 from robi772/patch-1

Share on items which dont have extension got StringIndexOutOfBoundExcept...