Skip to content

Dispatcher socket format validation - does not check for trailing tab character #292

Open
@solarmon

Description

@solarmon

Hi,

OpenSIPS Control Panel 9.3.4

For the dispatcher module, the edit form validation of the socket address, it seems that you are able to introduce a trailing tab character. The dispatcher edit form allows for the trailing tab character and does not seem to strip it out (like what it seems to do for whitespace and end of line characters).

The opensips dispatcher module will generate SIP OPTIONs with the trailing tab character in the headers, which will be rejected by the remote SIP endpoint.

The CP dispatcher module display of the socket does not show the trailing tab character, so it is not obvious from the display that there is a trailing tab character, until you go to edit it.

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