mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45: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
|
||||
if ($address->getHost())
|
||||
{
|
||||
// Hostname request
|
||||
if (filter_var(
|
||||
$address->getHost(),
|
||||
FILTER_VALIDATE_DOMAIN,
|
||||
FILTER_FLAG_HOSTNAME
|
||||
)
|
||||
) {
|
||||
$this->navbar->request->gtk->set_text(
|
||||
$address->get()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue