nextcloud / nextcloud/text

Display image from web into collectives

Open
#8,278 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: attachments feature: images
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Hello,
I often copy - paste articles from the Web into Collectives and I have some troubles with images.
External link are not display.

I have no problem with Nextcloud Notes : the images are correctly display.

https://ibb.co/prLCdBy7

To Reproduce
Create a new page into Collectives
Copy-paste a article with images

Server details:

  • Collectives app version 2.17.1
  • Nextcloud version: [Nextcloud Hub 10] (31.0.5 RC1)

Client details:
-Chrome on Windows 11

Browser log

Refused to load the image 'https://www.boxster-cayman-911.com/uploads/images/bc911-1667063440-U208.jpg' because it violates the following Content Security Policy directive: "img-src 'self' data:

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

Start by reproducing the copy-paste flow in Collectives with the browser log shown in the issue, then trace how external image URLs are handled and which Content Security Policy applies. Done means images copied from web articles display in Collectives without the reported CSP refusal, while existing image behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.