casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java

Home Page:https://casbin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSV values escaped using \

pzet123 opened this issue · comments

Escaping CSV values was discussed in #243 however the resolution in the end was to use \ for escaping commas in CSV files.

This causes an issue when trying to share policies between different versions of Casbin (e.g. Node-Casbin and jCasbin) which use double quotation marks to format values. This is the preferred technique described in RFC4180.

Is there any reason not to switch to the method of escaping CSV values described in RFC4180?

@pzet123 hi, can you make a PR?

@pzet123 any update?

Submitted PR