Skip to content

Commit

Permalink
Update social_meta_vars.inc to encode $pageUri
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkozicki authored Nov 10, 2023
1 parent 5dcc6b7 commit 625c763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/social_meta_vars.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require_once __DIR__ . '/../common_lib.inc';
require_once __DIR__ . '/../common.inc';

$pageURI = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$pageURI = urlencode('https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
// NOTE: if you'd like a page to include a screenshot for social sharing, specify $useScreenshot = true above the head include.
// Also, for page-specific screenshot css tweaks, add a screenshot class to that page's body class
$screenshotURI = CreateUrlVariation($pageURI, "screenshot=1");
Expand Down

0 comments on commit 625c763

Please sign in to comment.