[GOWS] - Link preview request sends User-Agent and Accept values swapped
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 83/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- backend, networking
Research direction
The report points to src/media/links.go in the GOWS code at lines 44–45. Read that header construction and check which values are assigned to User-Agent and Accept; reproduce with a link sent through the sendText endpoint if needed. Done when the request uses a browser-style value for User-Agent and text/html for Accept, preventing the reported swap.
Written by the indexing model from the issue text.
Description
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 ....
- Dominant language
- TypeScript
- Stars
- 7.6k
- Forks
- 1.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 7
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devlikeapro/waha
-
patron:PLUS
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
devlikeapro/waha#2167 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
devlikeapro/waha#2321 ·
Maintainers usually reply within 2 days
-
patron:PLUS
Difficulty 5/5 Over a week Newbie friendliness 45/100
devlikeapro/waha#2320 ·
Maintainers usually reply within 2 days
-
GOWS: FAILED has no reason, and temporary ban / stream replaced / client outdated leave the session silently deadPossibly taken @diego-goncalves-teixeira claimed this 5 days ago. Openpatron:PLUS
Difficulty 4/5 3-5 days Newbie friendliness 25/100
devlikeapro/waha#2317 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
devlikeapro/waha#2315 ·
Maintainers usually reply within 2 days
All issues in devlikeapro/waha
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
endora-commerce/endora-commerce#397 ·
Maintainers usually reply within 1 day
-
level/task
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wazuh/wazuh-dashboard-plugins#9472 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
xavxyz/bei-shan-lin-shui#57 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opennextjs/opennextjs-cloudflare#1461 ·
Maintainers usually reply within 1 day