URL decode title in media web lookup results.

This commit is contained in:
flash 2023-01-26 22:48:15 +00:00
parent b5c162db0b
commit fc80933561

View file

@ -50,7 +50,7 @@ class WebLookupMediaResult extends WebLookupResult implements \Uiharu\IHasMediaI
return $title;
}
return basename($this->url->getPath());
return rawurldecode(basename($this->url->getPath()));
}
public function hasSiteName(): bool {