Search doesn't work when using ampersand (&)

I’ve just discovered that I can’t search for something using an ampersand! (&)

When I do (knowing that there’s a result that contains an ampersand) it returns no results and converts the ampersand in the search field to &

Has anybody else experienced this situation and does anyone know how to fix it?

I’m using:
Phplist v3.7.0
PHP version: 8.3

@phillegg You can use the Advanced Search page provided by the Subscribers plugin, which does handle & correctly.

Thanks @duncanc - that does indeed work - but thinking more long term, is it not possible to make it work on the main search page for speed and ease of use in a future update?

@phillegg It is a bug, but there doesn’t seem to be much impetus with phplist now. No-one seems to be actively dealing with any issues that are raised, see the GitHub Issues page Issues · phpList/phplist3 · GitHub

1 Like