Problem with Ow.ly when URL contains ampersands
Greetings!
I am experiencing a repeatable issue with URLs containing "&".
For instance, if the original URL (fed to Ow.ly from an RSS feed) is:
http://www.osservatoriodigitale.it/in...
the corresponding Ow.ly address
http://ow.ly/16rr8t
resolves as
http://www.osservatoriodigitale.it/in...
where "&" has become "&"
Since the feed looks ok, I think this should really be an issue with Ow.ly.
Thanks for your assistance folks!
I am experiencing a repeatable issue with URLs containing "&".
For instance, if the original URL (fed to Ow.ly from an RSS feed) is:
http://www.osservatoriodigitale.it/in...
the corresponding Ow.ly address
http://ow.ly/16rr8t
resolves as
http://www.osservatoriodigitale.it/in...
where "&" has become "&"
Since the feed looks ok, I think this should really be an issue with Ow.ly.
Thanks for your assistance folks!
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?thanks for the report. we'll look into this.
-
Inappropriate?Hello,
We've found that your feed is outputting some bad data. Here's an example of the data we get. This is one of the feed posts:
Apple iPad al servizio del fotografo
http://www.osservatoriodigitale.it/in...
Redazione
Thu, 28 Jan 2010 14:25:49 +0100
http://www.osservatoriodigitale.it/in...
You'll see that in the link field the "&" in the url has been incorrectly double-encoded. They all show as "&" instead of the correct "&" value that is common. We do a single-pass decode when we parse the feed which works for most urls. But for your feed we're left with "&" in the url.
Typically, "&" characters should ever need to be double-encoded. This is probably due to some sort of bad setting or a bug in the feed generating software used by the website. -
Inappropriate?Oops. The browser tried to render the xml code I pasted in. I'll try to paste it in again:
<item>
<title>Apple iPad al servizio del fotografo</title>
<link>http://www.osservatoriodigitale.it/in...;
<description></description>
<author>Redazione</author>
<pubDate>Thu, 28 Jan 2010 14:25:49 +0100</pubDate>
<guid>http://www.osservatoriodigitale.it/in...;
</item> -
Inappropriate?Thanks Michael, but I think that Ow.ly should not delete the second semicolon. It correctly decodes the first five digits (let me space them so the browser doesn't render them) "& a m p ;" but as I see it, if it chooses not to decode the remainder of the string, then why it removes the last semicolon? If it didn't, browsers could resolve the URL correctly and I'd be a happy man ;-)
BTW the URL string was produced by the PHP standard function htmlspecialchars(), so I don't have much choice here :-)
It might also be interesting to know that the W3C feed validator doesn't warn about it. I have also tried other shortener services: Tiny.url produces a URL with "& a m p ;" (which the browser gladly accepts), Bit.ly produces "&". But I'd really like to stay with Hootsuite/Ow.ly...
Loading Profile...



