Files with % and # in the file name can't be imported by drag and drop
@weldjuggling
Submitted by DELETED Assigned to DELETED @weldjuggling
Description
Take any file that can be imported into pitivi and rename it so that it contains % or # and you will get an error when trying to import it.
The user gets the error:
The following file can not be used with PiTiVi.
URI:test #.flv
Problem:Pipeline didn't want to go to PAUSED.
The first debug warning for a file name containing %:
0:00:30.069072984 18862 0x97f2f70 WARN filesrc gstfilesrc.c:1154:gst_file_src_uri_set_uri:src-file:///home/volker/Desktop/%.flv Invalid URI 'file:///home/volker/Desktop/%.flv' for filesrc: The URI 'file:///home/volker/Desktop/%.flv' contains invalidly escaped characters
The first debug warning for a file name containing #:
0:00:38.769803371 18862 0x97f2f70 WARN gio_src gstgiosrc.c:324:gst_gio_src_get_stream:src-file:///home/volker/Desktop/#.flv error: Could not open location file:///home/volker/Desktop for reading: Can't open directory
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=611996