![]() fixes CNVS-17101 When you have a file with a <script> name, when no preview could be shown for that file, it would run the xss. This fixes that. Test Plan Given you are on new files And you create a file with the name <script>alert("Hi");</script> When you preview that file Then you should NOT see a pop up with the words Hi Change-Id: Iaaeddd9e0121707b6122a3095fa9127b06815d2b Reviewed-on: https://gerrit.instructure.com/44869 Reviewed-by: Dan Minkevitch <dan@instructure.com> Product-Review: Sterling Cobb <sterling@instructure.com> Tested-by: Jenkins <jenkins@instructure.com> QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
gems | ||
guard | ||
lib | ||
loom | ||
public | ||
script | ||
spec | ||
vendor/plugins | ||
.bowerrc | ||
.fontcustom-manifest.json | ||
.gitignore | ||
.i18nignore | ||
.jshintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Gemfile | ||
Guardfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bower.json | ||
config.ru | ||
karma.conf.js | ||
package.json |
README.md
Canvas LMS
Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.
Please see our main wiki page for more information
Installation
Detailed instructions for installation and configuration of Canvas are provided on our wiki.