picasa.inc uses the variable $url_to_fetch, which contains the user defined url of their Picasa gallery. This variable may have had its arguments changed from ampersands (&) to ampersand escapes (&) - presumably by an input filter, but I didn't check this. This results in the HTTP request to Picasa to failing, returning a 404 Not Found error, and ultimately, no gallery being displayed.
I'm unsure if this is the correct way to solve the issue, but inserting
$url_to_fetch = str_replace("&", "&", $url_to_fetch);
into line 36 resolves this issue. I've attached a patch, which was rolled against latest 6.x-4.x-dev from CVS.
Comments
Comment #1
Aeternum commentedComment #2
mokko commentedI inserted the new line manually in v3.6 and it solved my problem. Before that I could only get one picasa gallery to work. Now both of them work. Great work!
Have been using it all day and it works fine!
Comment #3
mokko commentedComment #4
karlschneider98 commentedDoes this code snippet replace the code on line 36?
When you say insert, I am not sure what this means.
Inset in [addition to] the code that is there already or replace?
Can you please clarify?
Thank you.
Comment #5
mokko commentedattached is my manually patched picasa.inc. It still works brilliantly... I hope this answers your question for v3.6.
Comment #6
karlschneider98 commentedThanks you Maurice. [Danke schön Maurice]
Worked perfect.