summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2021-07-10 11:35:35 -0500
committerPatrick Griffis <pgriffis@igalia.com>2021-07-10 11:35:35 -0500
commit869a8d7ab335cf785e06450e4ab1ca02a9f5005f (patch)
tree5087586e2d511a234cc1ff9df011999444f0adc8 /src/fe-gtk
parentc8536ed50c5472bf9b8ac958367ebb5eba26a20f (diff)
Fix allowed characters when escaping URIs
Closes #2608
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index b9945002..4ed4aac9 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -1071,7 +1071,8 @@ fe_open_url_inner (const char *url)
 #elif defined(__APPLE__)
     osx_show_uri (url);
 #else
-	char *escaped_url = g_uri_escape_string (url, G_URI_RESERVED_CHARS_GENERIC_DELIMITERS, FALSE);
+	char *escaped_url = g_uri_escape_string (url, G_URI_RESERVED_CHARS_GENERIC_DELIMITERS G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS,
+	                                         FALSE);
 	gtk_show_uri (NULL, escaped_url, GDK_CURRENT_TIME, NULL);
 	g_free (escaped_url);
 #endif