Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update the readme to add the security note
  • Loading branch information
netcode committed Apr 13, 2022
1 parent 59db520 commit c040180
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ for all the passed options. However, be aware that your code could break if we
add an option with the same name as one of your data object's properties.
Therefore, we do not recommend using this shortcut.

### Important
You should never give end-users unfettered access to the EJS render method, If you do so you are using EJS in an inherently un-secure way.

### Options

- `cache` Compiled functions are cached, requires `filename`
Expand Down

0 comments on commit c040180

Please sign in to comment.