[evolution/wip-webkit2] EvolutionWebExtension - Fix detection of http(s) URI
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] EvolutionWebExtension - Fix detection of http(s) URI
- Date: Wed, 20 Nov 2013 09:13:09 +0000 (UTC)
commit 76ef15d1e599fab9044324a1621fc823d3be6701
Author: Tomas Popela <tpopela redhat com>
Date: Wed Nov 20 10:11:44 2013 +0100
EvolutionWebExtension - Fix detection of http(s) URI
web-extensions/evolution-web-extension.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/evolution-web-extension.c b/web-extensions/evolution-web-extension.c
index e9368ad..26c205b 100644
--- a/web-extensions/evolution-web-extension.c
+++ b/web-extensions/evolution-web-extension.c
@@ -123,7 +123,7 @@ web_page_send_request (WebKitWebPage *web_page,
return FALSE;
/* Redirect http(s) request to evo-http(s) protocol. */
- if (strstr (request_uri, "http")) {
+ if (g_ascii_strncasecmp (request_uri, "http", 4) == 0) {
GSettings *settings;
EMailImageLoadingPolicy image_policy;
gchar *new_uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]