Skip to content

Not exposing $_SERVER anymore

Choose a tag to compare

@sanmai sanmai released this 11 Feb 07:55
· 109 commits to master since this release
ce53ad8

Fixes #114. This issue is particularly important because $_SERVER may contain sensitive data, like AWS access keys, which then can be accessed from user-provided templates.

To re-enable old unsafe behavior, use:

Liquid::set('EXPOSE_SERVER', true);