Skip to content

[2.1 & 3.0]: No direct access error - for PMs and messages - still there #9031

@sbulen

Description

@sbulen

Basic Information

Sorry I was unavailable for a while (& I'm about to head out of town again...). I just tried this again, and it's still happening, even with #8996 merged.

See the log below.

This affects messages as well as PMs.

For the record, my PR as originally submitted deals with this (#8991 and #8996 as originally submitted).

See also #8993 (which I thought was closed...??)

Steps to reproduce

  1. Send a PM (or start a new topic) with the subject Hello World \
  2. Add the word I'll as the body
  3. Press SEND

Expected result

PM sent

Actual result

Image

Version/Git revision

2.1 - current GitHub as of today

Database Engine

All

Database Version

8.4.4

PHP Version

8.4.5

Logs

No direct access...

			INSERT INTO smf_personal_messages(`id_pm_head`, `id_member_from`, `deleted_by_sender`, `from_name`, `msgtime`, `subject`, `body`)
			VALUES
				(0, 1, 0, SUBSTRING('admin_shawnb', 1, 255), 1762455918, SUBSTRING('Hello world \\', 1, 255), SUBSTRING('I'll', 1, 65534))
Function: sendpm

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    DatabaseRegressionA recent change has introduced a new bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions