nextcloud / nextcloud/server

Reference provider - Redirected URLs show text Redirect in preview

Open
#49,821 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 29-feedback bug feature: previews and thumbnails
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.

redirect.odt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.