S
S
Sergey2014-07-29 20:10:11
PHP
Sergey, 2014-07-29 20:10:11

Filtering from mongodb injection, what to filter?

In general, I'm doing a project on mongo, for the first time.
Do I need to filter something there before writing to the database?
If yes, then what? Special characters like {[]} and words like $lt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kliss, 2014-08-11
@butteff

nothing is needed, everything is escaped by the driver.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question