WordPress / WordPress/Requests
Referer isn't consistently set across transports
Open
Nobody has claimed this yet.
Component: Transports
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 500
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 5
Description
The referer is set for cURL, but not for sockets, as far as I know.
Contributor guide
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.
Research direction
Start at library/Requests/Transport/cURL.php around line 376 and inspect the socket transport for its Referer handling. Compare the two transport paths and add coverage showing that Referer is set consistently across them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100