Status code for NotFound incorrectly returns 403


(Riczenc) #1

Hello, using the Yii 2 basic template, in the file views/site/error.php the value returned of $exception->statusCode is 403 for the \yii\web\NotFoundHttpException. It should be 404 according to standard Http codes.