No description
c1df79e229
The "extends": "eslint:recommended" property in a configuration file enables this rule. In ECMAScript 5.1, Object.create was added, which enables the creation of objects with a specified [[Prototype]]. Object.create(null) is a common pattern used to create objects that will be used as a Map. This can lead to errors when it is assumed that objects will have properties from Object.prototype. This rule prevents calling some Object.prototype methods directly from an object. Additionally, objects can have properties that shadow the builtins on Object.prototype, potentially causing unintended behavior or denial-of-service security vulnerabilities. For example, it would be unsafe for a webserver to parse JSON input from a client and call hasOwnProperty directly on the resulting object, because a malicious client could send a JSON value like {"hasOwnProperty": 1} and cause the server to crash. To avoid subtle bugs like this, it's better to always call these methods from Object.prototype. For example, foo.hasOwnProperty("bar") should be replaced with Object.prototype.hasOwnProperty.call(foo, "bar"). See: https://eslint.org/docs/rules/no-prototype-builtins Change-Id: Id7723f0f0ed81e074f56955f80eda3d70241294e Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org> |
||
---|---|---|
.git-hooks | ||
.github | ||
.gitpod-files | ||
android | ||
common | ||
cypress_test | ||
debian | ||
docker | ||
etc | ||
fuzzer | ||
gtk | ||
ios | ||
kit | ||
kubernetes/helm | ||
loleaflet | ||
man | ||
net | ||
scripts | ||
test | ||
tools | ||
wsd | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gitpod.dockerfile | ||
.gitpod.yml | ||
AUTHORS | ||
autogen.sh | ||
browsersync-config.js | ||
ChangeLog | ||
CODE_OF_CONDUCT.md | ||
configure.ac | ||
CONTRIBUTING.md | ||
COPYING | ||
discovery.xml | ||
favicon.ico | ||
g | ||
loolkitconfig-mobile.xcu | ||
loolkitconfig.xcu | ||
loolwsd-generate-proof-key | ||
loolwsd-systemplate-setup | ||
loolwsd.init.rhel6 | ||
loolwsd.service | ||
loolwsd.spec.in | ||
loolwsd.xml.in | ||
Makefile.am | ||
NEWS | ||
PROBLEMS | ||
README.CONTRIBUTING.md | ||
README.md | ||
SECURITY.md | ||
sysconfig.loolwsd |
Collabora Online
LibreOffice in the Cloud on your own Terms
Key features
- View and edit text documents, spreadsheets, presentations & more
- Collaborative editing features
- Works in any modern browser – no plugin needed
- Open Source
Website
For many more details, build instructions, downloads and more please visit https://collaboraonline.github.io/
Developer assistance
Please ask your questions on irc.freenode.net
in our #cool-dev
channel
Join the conversation on our Discourse server at https://forum.collaboraonline.com/
Development bits
This project has several components:
- wsd/
- The Web Services Daemon - which accepts external connections
- kit/
- The client which lives in its own chroot and renders documents
- common/
- Shared code between these processes
- loleaflet/
- The client side JavaScript component
- test/
- C++ based unit tests
- cypress_test/
- JavaScript based integration tests
Further recommended reading with build details
Please consult the README files in the component's directory for more details:
- wsd/README
- loleaflet/README
iOS and Android apps
See the corresponding READMEs:
- ios/README
- android/README