wikiless icon indicating copy to clipboard operation
wikiless copied to clipboard

File Links are formatted incorrectly leading to 404 Errors

Open Handrail9 opened this issue 1 year ago • 1 comments

When self hosting I've encountered an issue where when visiting a page such as https://en.wikipedia.org/wiki/Internet_Explorer_9, a link to a file on the page like https://en.wikipedia.org/wiki/File:Internet_Explorer_9_screenshot.png?lang=en is changed to https://wikiless.mydomain.tld/File:Internet_Explorer_9_screenshot.png?lang=en causing a 404 error. It seems for some reason Wikiless is not appending /wiki/ between the domain and /File:. Please let me know if this is a configuration issue or if there's anything else I can do to help. Thanks

Handrail9 avatar Sep 03 '24 17:09 Handrail9

Everything about link redirection is in routes.js, I'm trying to fix that

rufatkiu avatar Sep 14 '24 01:09 rufatkiu

Looks to be fixed now, thanks!

Handrail9 avatar Nov 24 '24 18:11 Handrail9