1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 17:44:55 +01:00
gitea/web_src/js
Gusted d8a8961b99
Sanitize user-input on file name (#17666)
* Sanitize user-input on file name

- Sanitize user-input before it get passed into the DOM.
- Prevent things like "<iframe onload=alert(1)></iframe>" from being
executed. This isn't a XSS attack as the server seems to be santizing
the path as well.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-11-17 18:08:25 +00:00
..
components Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
features
markup Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
standalone
vendor
easymde.js
index.js
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
publicpath.js
serviceworker.js
svg.js
svg.test.js
utils.js
utils.test.js Fix context popup error (#17398) 2021-10-22 22:34:01 +08:00