Browsing taxa photos with apostrophe "No results found"

For the following taxa (a land planarian with an apostrophe in its species name) if you click on the “view more” photos you get “No results found”’mahoni/browse_photos

When I replaced the apostrophe with %27 it seemed to work:'mahoni/browse_photos

Thanks @reiner, I filed a bug report for this.

Closing to focus at the existing bug report: Broken links to taxa with punctuation in the name