[fix] do not include query parameter to string that gat checked for allowed file extension types