Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to register news according to the objects db type and the numbe… #2147

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

foxriver76
Copy link
Collaborator

…r of objects

const res = await this.getObjectListAsync({ include_docs: true });
const noObjects = res.rows.length;

showIt = eval(`${noObjects} ${message.noObjects}`);

Check warning

Code scanning / CodeQL

Unsafe code constructed from library input Medium

This string concatenation which depends on
library input
is later
interpreted as code
.
@foxriver76 foxriver76 merged commit 697e066 into master Oct 12, 2023
15 checks passed
@foxriver76 foxriver76 deleted the issue-2132 branch October 12, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant