github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-01-31 10:28 pm

[dreamwidth/dreamwidth] 8f455b: Move POST-only logic inside did_post guard in Logi...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 8f455b757a8b81e68e696b54c0c33d61b8cf5b35 https://github.com/dreamwidth/dreamwidth/commit/8f455b757a8b81e68e696b54c0c33d61b8cf5b35 Author: Mark Smith mark@dreamwidth.org Date: 2026-01-31 (Sat, 31 Jan 2026)

Changed paths: M cgi-bin/DW/Controller/Login.pm

Log Message:


Move POST-only logic inside did_post guard in Login controller (#3511)

The username suffix parsing, credential extraction, and form auth check were running unconditionally on every request, causing uninitialized value warnings on GET. Move them inside the existing did_post block where they belong.

Co-authored-by: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications