View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19196Bug reportsQuestion editorpublic2023-10-25 12:32
Reporterqualiquan Assigned ToDenisChenu  
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version6.2.x 
Summary19196: Uppy Integration Issue: 403 Error and Potential CSP Restrictions
Description

Hello,

I've been working on integrating the Uppy file uploader (from Transloadit) into a survey on LimeSurvey. Initially, I faced issues with the Uppy scripts not being executed, which led to a "Uppy not defined" error in the browser console.

To tackle this, I've made adjustments to the placement of my scripts and ensured they run after the entire page is loaded. This seemed to help, and I no longer see the "Uppy not defined" error. However, I'm now facing a different challenge. When trying to access Uppy's scripts and styles, I receive a 403 error in the console, indicating a forbidden request. I've attached a screenshot for your reference.

This leads me to suspect there might be content security policies (CSP) or other restrictions in LimeSurvey that could be blocking or restricting the loading of these external resources.

Could you provide some guidance on:

Whether LimeSurvey has any such policies or restrictions in place?
If so, is there a way I can whitelist or allow specific external resources like Uppy to ensure they load without issues?
I aim to provide a seamless experience for my survey participants, so any insights or advice on resolving this would be invaluable.

Thank you in advance for your assistance.

Best regards,

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.2.11+231007
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & version5.7.42-log
Server OS (if known)Linux
Webserver software & version (if known)
PHP Version8.0.30

Users monitoring this issue

qualiquan

Activities

DenisChenu

DenisChenu

2023-10-25 12:18

developer   ~77972

Last edited: 2023-10-25 12:19

Not a bug, neither a feature request : what this question do on mantis ?

Use the forum
https://forums.limesurvey.org/forum/plugins
or
https://forums.limesurvey.org/forum/development

qualiquan

qualiquan

2023-10-25 12:32

reporter   ~77974

I apologies, sorry for that

Issue History

Date Modified Username Field Change
2023-10-25 11:25 qualiquan New Issue
2023-10-25 11:25 qualiquan File Added: Capture d’écran 2023-10-25 à 11.17.12.png
2023-10-25 11:38 qualiquan Issue Monitored: qualiquan
2023-10-25 11:38 qualiquan Bug heat 0 => 2
2023-10-25 12:18 DenisChenu Note Added: 77972
2023-10-25 12:18 DenisChenu Bug heat 2 => 4
2023-10-25 12:18 DenisChenu Assigned To => DenisChenu
2023-10-25 12:18 DenisChenu Status new => closed
2023-10-25 12:18 DenisChenu Resolution open => no change required
2023-10-25 12:19 DenisChenu Note Edited: 77972
2023-10-25 12:32 qualiquan Note Added: 77974
2023-10-25 12:32 qualiquan Bug heat 4 => 6