Update SearchApiV2Service

This commit is contained in:
Daniel Supernault 2020-02-07 01:28:13 -07:00
parent 4573fd850f
commit d3cd0eea11
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -162,7 +162,7 @@ class SearchApiV2Service
protected function resolveQuery() protected function resolveQuery()
{ {
$query = urldecode($this->query->input('q')); $query = urldecode($this->query->input('q'));
if(Helpers::validateLocalUrl($query, false)) { if(Helpers::validateLocalUrl($query)) {
if(Str::contains($query, '/p/')) { if(Str::contains($query, '/p/')) {
return $this->resolveLocalStatus(); return $this->resolveLocalStatus();
} else { } else {