Back to Bugs
openHighP1

Search results pagination breaks with special characters

Opened Jun 22, 2026, 10:43 PMUpdated Jun 23, 2026, 02:08 PM

Description

When searching for terms containing '&', '+', or '#', the first page of results loads correctly. However, clicking 'Next page' returns zero results. The URL encoding of the search query is lost when constructing the pagination URL.

Reproduction Steps

  1. 1

    Navigate to /search

  2. 2

    Search for 'C++ tutorials' or 'AT&T plans'

  3. 3

    Observe: first page shows relevant results

  4. 4

    Click 'Next' pagination button

  5. 5

    Observe: zero results displayed

  6. 6

    Check URL bar: query parameter shows unencoded special chars

  7. 7

    Manually encode the URL — results appear correctly