waha
waha copied to clipboard
[GOWS] - Link preview request sends User-Agent and Accept values swapped
Describe the bug
When GOWS generates a link preview, the HTTP request it makes to the target URL has the User-Agent and Accept header values swapped
Version
{
"version": "2026.8.2",
"engine": "GOWS",
"tier": "PLUS"
}
Steps
To Reproduce Steps to reproduce the behavior:
- Send any link message with
sendTextendpoint: - View the link from whatsapp application
Expected behavior
The link preview should be able to read all browser information from most server
Requests - Responses
Some link preview return with 403 - Forbidden
Additional context
There is a mismatch value located in this file: https://github.com/devlikeapro/gows-plus/blob/master/src/media/links.go Line 44-45
Expected User-Agent: Mozila .... Accept: text/html ....