Skip to content

Commit

Permalink
GTK: Fix empty URL when hi-jacking requested URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed Jun 22, 2020
1 parent 170c16e commit 33a2610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/renderer-gtk.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,10 @@ Warning: This behaviour may change in the future."
nil)
(progn
(setf (webkit:webkit-uri-request-uri request) (url request-data))
(webkit:webkit-web-view-load-request (gtk-object buffer) request)
(log:debug "Don't forward to renderer (resource request replaced with ~a)."
(log:debug "Don't forward to renderer (resource request replaced with ~s)."
(url request-data))
(webkit:webkit-policy-decision-ignore response-policy-decision)
(webkit:webkit-web-view-load-request (gtk-object buffer) request)
nil)))
(_
(log:debug "Don't forward to renderer (handler stop).")
Expand Down

0 comments on commit 33a2610

Please sign in to comment.