From 6cb2768f6638373b129e919f762cff34ecaa36ac Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 6 Aug 2023 17:21:57 -0400 Subject: [PATCH] Use wildcard placeholder to fix base64 forward-slash bug --- lib/PostText.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PostText.pm b/lib/PostText.pm index 020db06..108f024 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -135,7 +135,7 @@ sub startup($self) { $r->get('/rules')->to('page#rules')->name('rules_page'); - $r->any([qw{GET POST}], '/captcha/:return_url') + $r->any([qw{GET POST}], '/captcha/*return_url') ->to('page#captcha') ->name('captcha_page');