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

Problem with latest handlebars version #24

Open
deather opened this issue Jan 10, 2020 · 1 comment
Open

Problem with latest handlebars version #24

deather opened this issue Jan 10, 2020 · 1 comment

Comments

@deather
Copy link

deather commented Jan 10, 2020

Hi,

I try to use swagger-ts-client with the latest version of handlebars, but some features changed since the version 4.0.11.

Here is the feature which can be problematic.

If you wan't to continue to use swagger-ts-client, you should fix the version of handlebars to 4.0.11 in your project.

@nknapp
Copy link

nknapp commented Jan 10, 2020

Handlebars 4.7.0 has been release with options to disable prototype restrictions:
https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access

Please be aware the you are potentially opening up ways to crash your servers or maybe even remote code execution for people who can inject templates into your system.

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

No branches or pull requests

2 participants