Skip to content

Any message incuding slash will be added escape character after calling emit #1512

Open
@Santiago0412

Description

@Santiago0412

Version 16.1.1

I want to emit a message like this:
["publish",{"channel":"/meeting/5349ee2b-89fe-440b-94cc-d3b752b78e33"}]
but from Charles the message send out is always like this:
["publish",{"channel":"\/meeting\/5349ee2b-89fe-440b-94cc-d3b752b78e33"}]
seems like socket.io will automatically add \ for any content including /

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions