We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b737087 + 625c763 commit ba1e2c3Copy full SHA for ba1e2c3
www/include/social_meta_vars.inc
@@ -3,7 +3,7 @@
3
require_once __DIR__ . '/../common_lib.inc';
4
require_once __DIR__ . '/../common.inc';
5
6
-$pageURI = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
+$pageURI = urlencode('https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
7
// NOTE: if you'd like a page to include a screenshot for social sharing, specify $useScreenshot = true above the head include.
8
// Also, for page-specific screenshot css tweaks, add a screenshot class to that page's body class
9
$screenshotURI = CreateUrlVariation($pageURI, "screenshot=1");
0 commit comments