Skip to content

Bug: HoneyPotException is Critical Error with HTTP Status Code 500 #10489

Description

@donpwinston

PHP Version

8.3

CodeIgniter4 Version

4.7.2

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Linux

Which server did you use?

apache

Environment

production

Database

Informix

What happened?

HoneyPotException when a bot is detected is responding with a critical error and status code 500. This is not a critical error, and the status code should be 400 or 403.

Steps to Reproduce

Turn Honey Pot filter on. Post a request with the honeypot field populated.

Expected Output

A Honeypot exception with an appropriate status.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions