forwardport previous efreet desktop command commit

ticket #2174


SVN revision: 82390
This commit is contained in:
Mike Blumenkrantz 2013-01-08 08:34:30 +00:00
parent 41308aa729
commit 63eeace6d6
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-01-08 Mike Blumenkrantz
* Fix efreet desktop command parsing of https
2013-01-07 Sung W. Park (sung_)
* Pulled out evas gl backend binary shader file caching code from

1
NEWS
View File

@ -103,3 +103,4 @@ Fixes:
* Fix mask write lines to not choose too small segments
* Fix ecore_con case where freeing server double-frees clients
* Fix build of Evas XCB backend
* Fix efreet desktop command parsing of https

View File

@ -623,7 +623,7 @@ efreet_desktop_command_file_process(Efreet_Desktop_Command *command, const char
f->command = command;
/* handle uris */
if (!strncmp(file, "http://", 7) || !strncmp(file, "ftp://", 6))
if ((!strncmp(file, "http", 4) && (!strncmp(file + 4, "://", 3) || !strncmp(file + 4, "s://", 4))) || !strncmp(file, "ftp://", 6))
{
uri = file;
base = ecore_file_file_get(file);