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.
1 parent 40ef8c4 commit eca361dCopy full SHA for eca361d
src/WebApp/Layout.php
@@ -61,7 +61,7 @@ protected function renderMeta() {
61
if (!isset($meta['viewport'])) $meta['viewport'] = 'width=device-width, initial-scale=1, shrink-to-fit=no';
62
if (!isset($meta['pageclass'])) $meta['pageclass'] = get_class($this->page);
63
if (!isset($meta['canonical'])) {
64
- $params = $this->app->request->params ? '?'.$this->app->request->params : '';
+ $params = $this->app->request->params ? '?'.\TgUtils\StringFilters::$NO_HTML->filter($this->app->request->params) : '';
65
$meta['canonical'] = $this->app->router->getCanonicalPath().$params;
66
}
67
0 commit comments