summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web-view-schemes/view-source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c
index 40fc496..b95af22 100644
--- a/src/web-view-schemes/view-source.c
+++ b/src/web-view-schemes/view-source.c
@@ -68,8 +68,8 @@ rewrite_uri(MqWebView G_GNUC_UNUSED *web_view, MqWebViewScheme *scheme,
{
/* TODO: Handle reloads and missing origin tab IDs (i.e. user loaded
* "view-source:URI"). */
- return g_strdup_printf("view-source:origin-tab=%" PRId64,
- scheme->view_source.origin_tab_id);
+ return g_strdup_printf("view-source:origin-tab=%" PRId64 "&uri=%s",
+ scheme->view_source.origin_tab_id, scheme->view_source.uri);
}
static gchar *