mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
fix search request detection
This commit is contained in:
parent
f16a64ddb7
commit
45f79ddf75
1 changed files with 7 additions and 3 deletions
|
|
@ -248,9 +248,13 @@ class Address
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Address correct
|
// Hostname request
|
||||||
if ($address->getHost())
|
if (filter_var(
|
||||||
{
|
$address->getHost(),
|
||||||
|
FILTER_VALIDATE_DOMAIN,
|
||||||
|
FILTER_FLAG_HOSTNAME
|
||||||
|
)
|
||||||
|
) {
|
||||||
$this->navbar->request->gtk->set_text(
|
$this->navbar->request->gtk->set_text(
|
||||||
$address->get()
|
$address->get()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue