Skip to content

Conversation

@chitholian
Copy link

This PR solves the issue #805

We append the HTTP port of the webhook URL in the HTTP Host header when calling the webhook if a non-default port is given.
For example, if the webhook URL is http://192.168.0.100:8080/api/v1/telegram-webhook, we set the header Host: 192.168.0.100:8080 instead of Host: 192.168.0.100.

This should be the default behavior as browsers follow this rule.

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

Successfully merging this pull request may close these issues.

2 participants