WinWorldPC/adventure

Missing & in pagination link

cathoderaydude opened this issue · 1 comments

If the pagination list is long enough to produce an ellipsis, the "last page" link will be missing a & before page and will not work.

Here is how you reproduce this bug:

  1. Search for % (example)
  2. Click on 56
    winworld bug

Other pages form the URLs correctly (including the & separating the query params) but the last page is missing the & separating q= from page=. The bug is caused by this line https://github.com/WinWorldPC/adventure/blob/master/adventure/views/search.ejs#L167