aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-10 10:37:52 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-10 10:37:52 +0800
commit8d9a32051f4073c11a6d9d2e679563cc21379a02 (patch)
tree311b6e1f545c907a1d42da20656f60f6f391e38a
parentf448e25de6f7d9bb1dfe943a9f82d4e4da747c5d (diff)
downloadgsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.tar
gsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.tar.gz
gsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.tar.bz2
gsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.tar.lz
gsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.tar.xz
gsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.tar.zst
gsoc2013-evolution-8d9a32051f4073c11a6d9d2e679563cc21379a02.zip
fix parsing of query string
2005-01-09 JP Rosevear <jpr@novell.com> * e-url.c (e_uri_new): fix parsing of query string svn path=/trunk/; revision=28304
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-url.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 324e44b9fc..a43adf06ed 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-09 JP Rosevear <jpr@novell.com>
+
+ * e-url.c (e_uri_new): fix parsing of query string
+
2005-01-07 Rodrigo Moya <rodrigo@novell.com>
* e-categories-config.c (e_categories_config_open_dialog_for_entry):
diff --git a/e-util/e-url.c b/e-util/e-url.c
index 8dba46b62b..503504b6b3 100644
--- a/e-util/e-url.c
+++ b/e-util/e-url.c
@@ -191,8 +191,6 @@ e_uri_new (const char *uri_string)
uri_decode (uri->host);
uri->port = 0;
}
-
- uri_string = slash;
}
/* find query */
@@ -225,6 +223,7 @@ e_uri_new (const char *uri_string)
name = g_strndup (cur, p - cur);
value = g_strdup ("");
}
+
uri_decode (name);
g_datalist_set_data_full (&uri->params, name,
value, g_free);