Skip to content

Fix pob.codes imports with query parameters - #10387

Open
AdamZ-8113 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
AdamZ-8113:fix/pob-codes-query-parameters
Open

AdamZ-8113 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
AdamZ-8113:fix/pob-codes-query-parameters

Conversation

@AdamZ-8113

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

This updates the pob.codes URL pattern to capture only the build ID before ?. Links without query parameters continue to work normally. This allows users to import builds that may get copy/pasted around from the random/trending/gem route pages, without having to manually delete part of the URL.

Steps taken to verify a working solution:

  • Verified that query parameters are excluded from the pob.codes API request URL.
  • Tested a few build links

Link to a build that showcases this PR:

https://pob.codes/b/iMdkLNRMEHD?source=random-list
https://pob.codes/b/iMdkLNRMEHD?view=gem-route#gem-route-start

Before screenshot:

After screenshot:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant