From 1c4299d95b07f775710a77fc2c6f20515a776a95 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Wed, 1 Nov 2023 13:23:23 -0400 Subject: [PATCH] Fixy pooh --- README.md | 1 - lib/PostText.pm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a0dc7e8..383f6d3 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,6 @@ tests locally: ## TODOs 1. Winter/Christmas/New Years background -1. Make CAPTCHA preserve search query 1. "All new posts flagged" mode (require approval for new posts) 1. Tests for mod-only user? diff --git a/lib/PostText.pm b/lib/PostText.pm index abfc485..eb53c6e 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -129,7 +129,7 @@ sub startup($self) { return $c->redirect_to( captcha_page => return_url => - b64_encode gzip $c->url_for->to_abs->to_string + b64_encode gzip $c->url_with->to_abs->to_string ), undef; });