Index: /home/test/gajim/src/roster_window.py
===================================================================
--- /home/test/gajim/src/roster_window.py	(revision 9098)
+++ /home/test/gajim/src/roster_window.py	(working copy)
@@ -4982,6 +4982,7 @@
 				jid_dest)
 			uri = data.strip()
 			uri_splitted = uri.split() # we may have more than one file dropped
+			uri_splitted = uri_splitted[0:-1]
 			nb_uri = len(uri_splitted)
 			# Check the URIs
 			bad_uris = []
