8000 Handling of values with periods in framework.session.name configuration · Issue #27023 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Handling of values with periods in framework.session.name configuration #27023
Closed
@ostrolucky

Description

@ostrolucky
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version any
framework:
  session:
    name: "name.with.dots"

Session#name will contain name as specified. However, cookie will be saved into attribute bag as "name_with_dots", so Symfony won't ever find corresponding session. This is apparently normal for global vars in PHP.

This is similar to #9009 and #6908. However, in this case it should be normalized/disallowed on Config level, otherwise it's not obvious why sessions don't work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0