Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

links to other wob in questions are broken in api #78

Open
fbstj opened this issue Aug 31, 2020 · 2 comments
Open

links to other wob in questions are broken in api #78

fbstj opened this issue Aug 31, 2020 · 2 comments
Labels
api Issues which involve the Palanaeum API bug Something isn't working

Comments

@fbstj
Copy link

fbstj commented Aug 31, 2020

King of Herdaz stumbled upon https://coppermind.net/wiki/Cite:Arcanum-9385 where the links in the included preview are broken and link to nonexistent coppermind pages rather than the pages on the wob.copermind.net domain. this is because the WoB editor (and maybe something in the backend too?) normalises the wob.coppermind.net domain out of links to other wobs (and makes them relative even, instead of just absolute?) but then the API does not undo this action (probably because it's built into the editor?) and so all users (of the extremely popular API) cannot rely on those links without further finangling.

@fbstj fbstj added bug Something isn't working api Issues which involve the Palanaeum API labels Aug 31, 2020
@Hillshum
Copy link
Contributor

Is this just a matter of making the API add the domain back in?

@Hillshum
Copy link
Contributor

Actually, after some time spent combing through the code I'm not seeing where the domain is getting stripped during save. Maybe better to just save the URLs intact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues which involve the Palanaeum API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants