[GH-ISSUE #648] Handle Shareable Link p_token #1548

Closed
opened 2026-04-16 08:12:45 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @uncle-tee on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/648

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 GitHub (May 3, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/648 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
GiteaMirror added the bugstale labels 2026-04-16 08:12:45 -05:00
Author
Owner

@miloschwartz commented on GitHub (May 4, 2025):

Thanks I marked this as a bug and will look at the code

<!-- gh-comment-id:2848922447 --> @miloschwartz commented on GitHub (May 4, 2025): Thanks I marked this as a bug and will look at the code
Author
Owner

@miloschwartz commented on GitHub (May 10, 2025):

What version of Pangolin are you on?
Can you describe the series steps you took to reproduce this?

Thanks!

<!-- gh-comment-id:2868956653 --> @miloschwartz commented on GitHub (May 10, 2025): What version of Pangolin are you on? Can you describe the series steps you took to reproduce this? Thanks!
Author
Owner

@LaurenceJJones commented on GitHub (Mar 7, 2026):

adding stale, please followup with steps else issue will be closed automatically.

<!-- gh-comment-id:4016998568 --> @LaurenceJJones commented on GitHub (Mar 7, 2026): adding stale, please followup with steps else issue will be closed automatically.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1548