-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photon: URLs with & in RSS feeds are not being encoded correctly #8321
Comments
Just a heads up - this is no longer visible at http://offbeatbride.com/feed/. We had to disable the filter as a broken RSS feed is a showstopper for us. Thanks! |
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation. |
My feed reader won't refresh feeds with unescaped ampersands in URLs. In one such, recent example, the invalid URL was the one inside the |
@tw2113 reported a similar issue in #13722. Annoyingly, I can't seem to reproduce the issue on my own site right now: As you can see, the icon URL is encoded there: @tw2113 Do you happen to use another plugin that may output things in the RSS feed on that site? I wonder if this may be a conflict with another plugin at play. |
I can't say on other plugins part, as this wasn't found/demo'd using my own websites. I had noticed it as i tried to subscribe to others' websites and their atom rss feed. I could try to reach out to the site owner and see if they'd share their current plugin list. The encoding part looks legit though, as my example one does NOT encode that last |
Also reported in 2726497-zen with the feeds created by the PodLove plugin. |
This was also reported here: |
Noting that this also happens with spaces in image URLs. Internal reference: p1725633694454789/1725633597.982689-slack-CDLH4C1UZ |
Support References This comment is automatically generated. Please do not edit it.
|
@adnan can the team handle this one please? |
@haqadn re-ping |
@jeherve, have you had any luck reproducing it? I tried to reproduce it but any URL in the feeds seem to be already encoding the URLs, and WordPress renames the files to replace the space when you upload them. |
That's been my experience as well. I assumed that it didn't happen in some specific site configurations. That is the root of the issue on those sites, but I think ideally we'd account for that problem on our end, and support sites that have wrong filenames when possible. |
Can I get an example of code that adds an I'm also only running Boost, not Jetpack. EDIT: I just noticed, that |
@jeherve Can I get your review on Image CDN: URL encode path parts #39560? It solves spaces and special characters in the file name. E.g. I found that the default mac screenshot contains a "Narrow non-breaking space" character which WP doesn't replace by default and causes an issue with RSS. I couldn't reproduce the ampersand issue. It seems like it is already encoded. May be it was fixed during all this time? |
So, we had two issues.
We have covered # 2. # 1 is no longer reproducible, and I think it's probably fixed without noticing in the past. Shall we close this issue @jeherve ? |
Yup, let's close it! |
Steps to reproduce the issue
&
character.Example feed with this issue: http://offbeatbride.com/feed/
The text was updated successfully, but these errors were encountered: