Browse Source

fix search request detection

PHP-GTK3
yggverse 4 months ago
parent
commit
45f79ddf75
  1. 10
      src/Entity/Window/Tab/Address.php

10
src/Entity/Window/Tab/Address.php

@ -248,9 +248,13 @@ class Address @@ -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…
Cancel
Save