MongoDB-Cowboys / Monalize

Monaliza is a tool for scanning and analyzing MongoDB database for any performance issues, which lead to high CPU consumption.
GNU General Public License v3.0
28 stars 6 forks source link

Fix permission denied or shell issues #2

Closed jaitaiwan closed 1 year ago

jaitaiwan commented 3 years ago

This change fixes issue #1 which was caused by the db_uri not being escaped when called via the shell. Special characters such as ! and $ may cause the shell to interpret them in a special way and by escaping them we fix that issue.