Commit 4e5dc271 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Add missing pattern validation for shows

parent 8f611cc4
......@@ -1097,6 +1097,8 @@ Query<IArtist> MediaLibrary::searchArtists( const std::string& name,
Query<IShow> MediaLibrary::searchShows( const std::string& pattern,
const QueryParameters* params ) const
{
if ( validateSearchPattern( pattern ) == false )
return {};
return Show::search( this, pattern, params );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment