502/blank page error when trying to load libredirect "site hosted" redirects at global-identity-2 #95
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
realaravinth/libmedium#95
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I click on https://www.designsystemscollective.com/the-blueprint-for-creating-an-icon-system-that-stays-consistent-at-scale-bde858c111ef, the server redirects me to https://medium.com/m/global-identity-2?redirectUrl=https%3A%2F%2Fwww.designsystemscollective.com%2Fthe-blueprint-for-creating-an-icon-system-that-stays-consistent-at-scale-bde858c111ef. Then LibRedirect forwards this to a LibMedium instance at md.vern.cc or my self-host. At this point, I get a 502 error on md.vern.cc or a blank page on my self-host.
My Docker logs shows a string of these errors:
I think the problem is the article ID lives after the question mark (in the query string), LibRedirect does not remove/replace the question mark when performing a redirection, but LibMedium only parses the path and not the query parameters for an article ID. Is this behavior better to change in LibRedirect or LibMedium?
(Even after fixing this URL, I get a 404 on md.vern.cc but the article loads fine on my own instance.)