diff options
| author | Andreas Schwab | 2018-05-22 00:00:11 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2018-05-22 00:09:24 +0200 |
| commit | d2d35febf28632aafb087952fd4c07c2899e21c5 (patch) | |
| tree | 30808c55fb1f78525bf8cae76a779d9f36cd396d /src/xwidget.c | |
| parent | 8811c2408d3329eb84efe63d148a80afd080017c (diff) | |
| download | emacs-d2d35febf28632aafb087952fd4c07c2899e21c5.tar.gz emacs-d2d35febf28632aafb087952fd4c07c2899e21c5.zip | |
* src/xwidget.c (Fxwidget_webkit_goto_uri): Encode uri.
Diffstat (limited to 'src/xwidget.c')
| -rw-r--r-- | src/xwidget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index c4a3b1990d3..16243b7789e 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -683,6 +683,7 @@ DEFUN ("xwidget-webkit-goto-uri", | |||
| 683 | { | 683 | { |
| 684 | WEBKIT_FN_INIT (); | 684 | WEBKIT_FN_INIT (); |
| 685 | CHECK_STRING (uri); | 685 | CHECK_STRING (uri); |
| 686 | uri = ENCODE_FILE (uri); | ||
| 686 | webkit_web_view_load_uri (WEBKIT_WEB_VIEW (xw->widget_osr), SSDATA (uri)); | 687 | webkit_web_view_load_uri (WEBKIT_WEB_VIEW (xw->widget_osr), SSDATA (uri)); |
| 687 | return Qnil; | 688 | return Qnil; |
| 688 | } | 689 | } |