You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This won't work because rewrite_hash_links works like: $thisURLRelativeToBase = "<?php echo Convert::raw2att(\$_SERVER['REQUEST_URI']); >";
The static published PHP pages don't have a definition for Convert.
Simplest fix is to change Framework so that it's more like: $thisURLRelativeToBase = "<?php echo htmlspecialchars(\$_SERVER['REQUEST_URI'], ENT_QUOTES); >";
but unsure if that's "best".
The text was updated successfully, but these errors were encountered:
ss23
pushed a commit
to ss23/silverstripe-staticpublishqueue
that referenced
this issue
Apr 20, 2015
This won't work because rewrite_hash_links works like:
$thisURLRelativeToBase = "<?php echo Convert::raw2att(\$_SERVER['REQUEST_URI']); >";
The static published PHP pages don't have a definition for
Convert
.Simplest fix is to change Framework so that it's more like:
$thisURLRelativeToBase = "<?php echo htmlspecialchars(\$_SERVER['REQUEST_URI'], ENT_QUOTES); >";
but unsure if that's "best".
The text was updated successfully, but these errors were encountered: