Added support for opening JSON by URL parameter#84
Added support for opening JSON by URL parameter#84BartCardan wants to merge 14 commits intow3c:mainfrom
Conversation
Added support for open json by url
|
✔️ Deploy Preview for wcag-em-report-tool-2021-redesign ready! 🔨 Explore the source changes: 7f025ce 🔍 Inspect the deploy log: https://app.netlify.com/sites/wcag-em-report-tool-2021-redesign/deploys/61684462d2881c000870bce8 😎 Browse the preview: https://deploy-preview-84--wcag-em-report-tool-2021-redesign.netlify.app |
Access-Control-Allow-OriginYou need to set
Example URL for testing: https://deploy-preview-84--wcag-em-report-tool-2021-redesign.netlify.app/?jsonUrl=https://technobility.nl/json.json What needs to be done
|
|
With some modification You could also host this application on your own domain for full control. Then you can keep your domain and content secure. |
|
@rvantonisse Yes indeed. That's how we are planning to do it in the near future. |
|
Are there any security implications? |
One of the questions on the to-do list. It may need sanitizing. This really depends on how the "Open report" functionalitity in the tool works. If the JSON itself is already sanitizing during opening it's probably OK. Another layer of security is to only allow data which has a JSON mime-type. |
|
@BartCardan In this PR, could you add a heading to |
added save to db
I've modified the file
\src\components\form\OpenEvaluation.svelteto add support for opening a JSON file by a URL parameter.For example:
This adds possibilities to add an default evaluation template or automate some processes from a back office.