SHEET 03blog/tag/code-review/ REVISED 

Writing tagged code-review

2026

  1. redirect() without return: the 302 that stopped nothing

    An access check in a legacy Yii2 admin panel sent a redirect but never returned it, so the action kept running and saved a guest's POST. Ten more places had the same bug.

Console

Type help and press Enter.