Handle Shareable Link p_token #1539

Open
opened 2026-04-05 19:33:26 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @uncle-tee on 5/3/2025

I'm using an app that requests a server URL. The Pangolin shareable link includes a p_token as a query parameter. However, it incorrectly appends additional path parameters directly to the URL, resulting in a malformed resource URL.

Generated App URL

https://pangolin.server.com**/?p_token=token**/api/v1/links?cursor=

Expected Behavior

Bager should detect if the p_token query parameter exists in the base url, remove it from the base URL, and append it at the end of the final constructed URL, before performing authentication

*Originally created by @uncle-tee on 5/3/2025* I'm using an app that requests a server URL. The Pangolin shareable link includes a p_token as a query parameter. However, it incorrectly appends additional path parameters directly to the URL, resulting in a malformed resource URL. Generated App URL `https://pangolin.server.com**/?p_token=token**/api/v1/links?cursor=` **Expected Behavior** Bager should detect if the p_token query parameter exists in the base url, remove it from the base URL, and append it at the end of the final constructed URL, before performing authentication
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1539