Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
solarmon opened this issue May 29, 2024 · 0 comments

Comments

@solarmon
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant