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
) )
); );
// 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…
Cancel
Save