Skip to content

flashMessenger logs out user when session storage is database and msg contains utf8 emoji #42

@YuriStruszczynski

Description

@YuriStruszczynski

Bug Report

Q A
laminas-mvc-plugin-flashmessenger 1.10.1
PHP 8+
nginx
session storage database

Summary

Current behavior

FlashMessenger logs out user when session storage is database and msg contains utf8 emoji.
Also relevant: localhost with apache gives no problem, production with nginx gives problem

How to reproduce

  1. Login ...
  2. $this->flashMessenger()->addSuccessMessage("xyz 💪");
  3. die("test");
  4. run Action to see "test"
  5. Use Browser history to get back
  6. you're logged out
  7. remove emoji
  8. run action again to see "test"
  9. you're still logged in

Expected behavior

no logout

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions