diff -r 859b15b1c817 -r d85c241e3183 pidgin/gtknotify.c --- a/pidgin/gtknotify.c Thu Sep 28 20:41:27 2017 -0500 +++ b/pidgin/gtknotify.c Fri Sep 29 18:48:51 2017 +0200 @@ -1284,13 +1284,7 @@ GSList *argv = NULL, *argv_remote = NULL; gchar **usercmd_argv = NULL; - /* Replace some special characters like $ with their percent-encoded - value. This shouldn't be necessary because we shell-escape the entire - arg before exec'ing the browser, however, we had a report that a URL - containing $(xterm) was causing xterm to start on his system. This is - obviously a bug on his system, but it's pretty easy for us to protect - against it. */ - uri_escaped = g_uri_escape_string(uri, "[]:;/%#,+?=&@", FALSE); + uri_escaped = purple_uri_escape_for_open(uri); web_browser = purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/browser");