diff options
author | jgmdev <jgmdev@gmail.com> | 2022-10-27 21:33:21 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-10-27 23:19:49 -0400 |
commit | 0ed28fd0c58452591283fdcb949fd8e49b02a657 (patch) | |
tree | fbb583f2ca7663b119d76bc83ebfc93da021f626 /plugins/eval.lua | |
parent | c24cea177b7de6ae57178496ac04d73b0a9d22f3 (diff) | |
download | lite-xl-plugins-0ed28fd0c58452591283fdcb949fd8e49b02a657.tar.gz lite-xl-plugins-0ed28fd0c58452591283fdcb949fd8e49b02a657.zip |
language_php: fix strings not getting terminated
The issue can be triggered with code like the following:
`'"'.strlen("test:").'"';` would cause the string end to not be found.
The additional pattern on this commit allows properly terminating
the string by not matching the last closing character.
Diffstat (limited to 'plugins/eval.lua')
0 files changed, 0 insertions, 0 deletions