Skip to content

Commit

Permalink
Merge pull request #41164 from owncloud/pdf_config_apps_sample
Browse files Browse the repository at this point in the history
docs: update config.apps.sample
  • Loading branch information
mmattel authored Jan 27, 2024
2 parents 570403a + 1dee0f4 commit ced64df
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config/config.apps.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,25 @@
*/
'files_antivirus.av_cmd_options' => '',

/**
* App: Files PDF Viewer
*
* Possible key: `files_pdfviewer.enableScripting` STRING
*
* PDF files may contain JavaScript which for example can be necessary to process editable fields.
* Under normal circumstances and for security reasons, scripts are not allowed to be processed. To allow
* processing these scripts, the following config key can be set. Note that enabling scripting can be
* a major security issue and should be considered as possible thread vector.
*
*/

/**
* Enable Scripting in PDF files.
* To enable scripting in PDF files, set the value to 'yes'. Any other value will be treated
* as disable scripting.
*/
'files_pdfviewer.enableScripting' => '',

/**
* App: Files Versions
*
Expand Down

0 comments on commit ced64df

Please sign in to comment.