This change ensures that any definitions passed is treated as raw
contents. With this change mistral-dashboard no longer tries to load
contents based on file path or uri passed in by users, and this
prohibits access to any local files or any internal contents accessible
without authentication.
Depends-on: https://review.opendev.org/800950
Closes-Bug: #1931558
Change-Id: I4de45cadc4e174794d0c2ef82223a9da5cbdcabc
(cherry picked from commit 8b876b0b22
)
changes/55/852955/1
parent
c016a7a360
commit
c077728bfa
@ -0,0 +1,8 @@
|
||||
---
|
||||
security:
|
||||
- |
|
||||
`Bug #1931558 <https://launchpad.net/bugs/1931558>`_:
|
||||
Previosuly Mistral Dashboard leaked contents of local files if a user put
|
||||
in a local file path in definitions. Now Mistral Dashboard no longer treats
|
||||
inputs as file path or URL but it always use the raw input as resource
|
||||
definitions.
|
Loading…
Reference in new issue