Automattic / Automattic/jetpack
Publicize: HTML entities are being encoded when they shouldn't be
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce the issue
The user is using FeedWordPress to populate their database with links gathered from a Google alert. They're being saved correctly there, but when the posts are publicized, the links are HTML encoded, which is breaking them.
Examples:
On their site: https://www.google.com/url?rct=j&sa=t&url=http%3A%2F%2Fwww.lanouvelle.net%2FActualites%2F2016-06-18%2Farticle-4564333%2FSe-preparer-a-sauver-des-vies%2F1&ct=ga&cd=CAIyG2JkNjZmZDhmMzhlMDY5MmU6Y2E6ZnI6Q0E6Ug&usg=AFQjCNFrTiFi5XShgmBON15-W_5BDDtv4g
What was publicized: https://www.google.com/url?rct=j&%3Bsa=t&%3Burl=http%3A%2F%2Fwww.lanouvelle.net%2FActualites%2F2016-06-18%2Farticle-4564333%2FSe-preparer-a-sauver-des-vies%2F1&%3Bct=ga&%3Bcd=CAIyG2JkNjZmZDhmMzhlMDY5MmU6Y2E6ZnI6Q0E6Ug&%3Busg=AFQjCNFrTiFi5XShgmBON15-W_5BDDtv4g
2707969-t
Contributor guide
Research direction
Start by reproducing the publicize flow with the FeedWordPress-generated Google Alert URL shown in the issue and compare the source URL with the publicized result. Trace where the URL is transformed during publicization; done means query separators remain usable and are not changed into HTML-encoded output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100