Skip to content

feat: fix csv parsing error in loadPolicyLine by using persist.LoadPolicyArray()#71

Merged
hsluoyz merged 1 commit intoapache:masterfrom
slhmy:fix-63
May 24, 2025
Merged

feat: fix csv parsing error in loadPolicyLine by using persist.LoadPolicyArray()#71
hsluoyz merged 1 commit intoapache:masterfrom
slhmy:fix-63

Conversation

@slhmy
Copy link
Contributor

@slhmy slhmy commented May 24, 2025

Fix: #63

Principle of the fix is described in the issue.

@coveralls
Copy link

Coverage Status

coverage: 82.744% (+0.3%) from 82.438%
when pulling 469fae3 on slhmy:fix-63
into 808774d on casbin:master.

@hsluoyz hsluoyz changed the title fix: avoid csv parsing error in loadPolicyLine feat: fix csv parsing error in loadPolicyLine by using persist.LoadPolicyArray() May 24, 2025
@hsluoyz hsluoyz changed the title feat: fix csv parsing error in loadPolicyLine by using persist.LoadPolicyArray() feat: fix csv parsing error in loadPolicyLine by using persist.LoadPolicyArray() May 24, 2025
@hsluoyz hsluoyz merged commit 843cf7b into apache:master May 24, 2025
5 checks passed
@github-actions
Copy link

🎉 This PR is included in version 4.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error encountered when creating an Enforcer based on the ABAC model: extraneous or missing "in quoted field"

3 participants