Reference provider - Redirected URLs show text Redirect in preview
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Open the attached document, and click into the URL in the 2nd line.
This URL is pointing to: https://docs.mattermost.com/administration/changelog.html
=> The preview shows Redirect (or sometimes the text of the URL), and not an actual preview of the redirected page.
If I'm not mistaken, the preview is supposed to be coming from the integrator.
Reproduced with NC 29.0.8 / richdocuments 8.4.9 and NC 30.0.4 / richdocuments 8.5.3.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce with the attached redirect.odt in the reported Nextcloud and richdocuments versions, then trace the reference-provider handling for the URL in the document's second line. Done means a redirected URL produces a preview of the destination page rather than the text “Redirect” or the URL itself.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100