mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
URL default encoding should match rules for href's. VS &
This commit is contained in:
parent
fb948d8390
commit
e964da9579
@ -13,7 +13,7 @@ $url = Url::fromRequest()->remove('_render')->getRelativeUrl();
|
|||||||
$menu = Menu::fromConfig();
|
$menu = Menu::fromConfig();
|
||||||
?>
|
?>
|
||||||
<div id="menu" data-base-target="_main">
|
<div id="menu" data-base-target="_main">
|
||||||
<form action="<?= $this->href('search') ?>" method="post">
|
<form action="<?= $this->href('search') ?>" method="get">
|
||||||
<input type="text" name="q" class="search" placeholder="Search..." autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
<input type="text" name="q" class="search" placeholder="Search..." autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
|
||||||
</form>
|
</form>
|
||||||
<?= $this->partial('parts/menu.phtml', array(
|
<?= $this->partial('parts/menu.phtml', array(
|
||||||
|
@ -256,7 +256,7 @@ class Url
|
|||||||
if (empty($this->params)) {
|
if (empty($this->params)) {
|
||||||
return ltrim($this->path, '/') . $this->anchor;
|
return ltrim($this->path, '/') . $this->anchor;
|
||||||
}
|
}
|
||||||
return ltrim($this->path, '/') . '?' . http_build_query($this->params) . $this->anchor;
|
return ltrim($this->path, '/') . '?' . http_build_query($this->params, '', '&') . $this->anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user