File 0001-fix-efreet-desktop-command-parsing-of-https.patch of Package efreet
From 31ccccb387a32b7518ee43c90c1930af4f1850b1 Mon Sep 17 00:00:00 2001
From: discomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Date: Tue, 8 Jan 2013 08:30:30 +0000
Subject: [PATCH] fix efreet desktop command parsing of https:// ticket #2174
git-svn-id: http://svn.enlightenment.org/svn/e/branches/efreet-1.7@82389 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
---
ChangeLog | 4 ++++
NEWS | 9 +++++++++
src/lib/efreet_desktop_command.c | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 9fef740..63086fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -180,3 +180,7 @@
2013-01-04 Luis Felipe Strano Moraes
* 1.7.5 release
+
+2013-01-08 Mike Blumenkrantz
+
+ * Fix desktop command parsing of https
diff --git a/NEWS b/NEWS
index e13459c..338ce67 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+Efreet 1.7.6
+
+Changes since Efreet 1.7.5:
+---------------------------
+
+Fixes:
+ * Fix desktop command parsing of https
+
+
Efreet 1.7.5
Changes since Efreet 1.7.4:
diff --git a/src/lib/efreet_desktop_command.c b/src/lib/efreet_desktop_command.c
index f7f4d13..826791c 100644
--- a/src/lib/efreet_desktop_command.c
+++ b/src/lib/efreet_desktop_command.c
@@ -625,7 +625,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);
--
1.7.10.4