From 6db522c7e5e4a49a91ec3a20a70698e2473889fa Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 23 Feb 2024 03:37:54 +0100 Subject: pager: fix wrong referrer in redirectTo --- src/local/pager.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/local/pager.nim') diff --git a/src/local/pager.nim b/src/local/pager.nim index 36924ead..c279faac 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -1180,7 +1180,7 @@ proc checkMailcap(pager: Pager, container: Container): CheckMailcapResult = proc redirectTo(pager: Pager, container: Container, request: Request) = pager.alert("Redirecting to " & $request.url) pager.gotoURL(request, some(container.location), replace = container, - redirectdepth = container.redirectdepth + 1, referrer = pager.container) + redirectdepth = container.redirectdepth + 1, referrer = container) proc handleEvent0(pager: Pager, container: Container, event: ContainerEvent): bool = case event.t -- cgit 1.4.1-2-gfad0