Problem with og:image field when whitespaces in image name

More
6 years 9 months ago #38599 by pgarcia
Hi,
facebook reported an error with og:image field when whitespaces in image name, as whitespaces are forbidden in urls of that field.

I fixed it adding : $thumb = str_replace(' ' ,'%20',$thumb);
below line 105 in vm2share.php file.

It seems to work OK. Please let me know if this fix may cause other problems,

Best,
pedro

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #38600 by nordmograph
OK I will add this to the core thanks.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.307 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.