From 8d1af1d6a1fe523d6caddbba6c18ade6e02162a9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 19 Feb 2022 12:42:16 -0700 Subject: [PATCH 1/2] Update SpaController, fix variable typo. Fixes #3268 --- app/Http/Controllers/SpaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SpaController.php b/app/Http/Controllers/SpaController.php index f0c26d79..664286f7 100644 --- a/app/Http/Controllers/SpaController.php +++ b/app/Http/Controllers/SpaController.php @@ -119,7 +119,7 @@ class SpaController extends Controller public function usernameRedirect(Request $request, $username) { - abort_unless($req->user(), 404); + abort_unless($request->user(), 404); $id = AccountService::usernameToId($username); if(!$id) { return redirect('/i/web/404'); From 95a2cb970fdff939d4438cc5b7e40098cf3dbd32 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 19 Feb 2022 12:42:47 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 193240e7..5a8d8345 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ - Updated ComposeModal.vue, fix redirect after posting. Fixes #3254. ([5db64e94](https://github.com/pixelfed/pixelfed/commit/5db64e94)) - Updated StatusController, redirect status view for authed users to Metro 2.0 UI. ([71dff472](https://github.com/pixelfed/pixelfed/commit/71dff472)) - Updated ProfileController, redirect profile view for authed users to Metro 2.0 UI. ([7f8129a7](https://github.com/pixelfed/pixelfed/commit/7f8129a7)) +- Updated SpaController, fix variable typo. Fixes #3268. ([8d1af1d6](https://github.com/pixelfed/pixelfed/commit/8d1af1d6)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.2 (2022-01-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.1...v0.11.2)