buddypress / next-template-packs

is this the next BuddyPress template pack?
35 stars 9 forks source link

Search is broken due to not url-decoding #169

Closed Jon007 closed 7 years ago

Jon007 commented 7 years ago

Search is broken with any character that is url encoded, including spaces. This is easy to test and confirm by turning off next template packs.

For example, a search for the user "Jonathan Moore":

We can put the url generated by Next Template Packs /members/?members_search=Jonathan+Moore&dir_members_search_submit= back into the legacy and again it works fine, the legacy understands that "Jonathan+Moore" should be decode to "Jonathan Moore" for the search.

This applies to other characters in the URL for example: /members/?members_search=superman%2Fwoman will correctly search users for the string "superman/woman", but the Next Template Packs will not.

Jon007 commented 7 years ago

This is already raised, with slightly less detail, as #105 on Feb 20.
Duplicates #105

hnla commented 7 years ago

Thanks for the detailed report though, it'll be looked into.