node-casbin
node-casbin copied to clipboard
Wrong method in multiline parsing
Hi,
Multiline parsing in config.ts is using .includes(), but should use .endsWith(), as the multiline separator is valid only at the end of the line. https://github.com/casbin/node-casbin/blob/7803ccbd4cc25e2faac9b508ef57ebee2f8d5750/src/config.ts#L127
Thanks.
@Gabriel-403 @Zxilly @kingiw @nodece
@moshekar can you make a PR to fix it?
@moshekar maybe create a pr again? as you may already know semantic pr was required for release.
@hsluoyz can I make PR to this issue, is it still open?
@PrathamJaiswal001 sure
:tada: This issue has been resolved in version 5.20.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket: