diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-23 03:37:54 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-23 03:37:54 +0100 |
commit | 6db522c7e5e4a49a91ec3a20a70698e2473889fa (patch) | |
tree | a2dfe35bee099e4d12332c69930bc4f068b265bc /src/local/pager.nim | |
parent | 897e403c49fe71addbddd6da0784e399c62c9a32 (diff) | |
download | chawan-6db522c7e5e4a49a91ec3a20a70698e2473889fa.tar.gz |
pager: fix wrong referrer in redirectTo
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |