lafkpages / XL-Replit

Extra features for the Replit website.
https://xl-replit.lafkpages.tech
17 stars 8 forks source link

XL User Data not loading when URL has search params #12

Closed lafkpages closed 1 year ago

lafkpages commented 1 year ago

Describe the bug If you load a user's profile but the URL has search params (for example /@User?tab=repls) the search params get caught by the RegEx and sent to GraphQL, returning null for the user.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://replit.com/@LuisAFK?tab=repls (XL Data shouldn't load)
  2. Go to https://replit.com/@LuisAFK (XL Data should load)

Expected behavior The RegEx shouldn't match search params.

Screenshots N/A.

Desktop (please complete the following information):

Additional context N/A.

lafkpages commented 1 year ago

This has been fixed for Repl Cover Pages in commit #c5cd7ade1bd095d801fcec875287fb714ffd2deb.