Sambruk / EgilSCIM

The EGIL SCIM client
GNU Affero General Public License v3.0
4 stars 7 forks source link

Attributes containing the quote character (") #164

Open joesiltberg opened 2 years ago

joesiltberg commented 2 years ago

When we expand variables in the templates these should perhaps be escaped? But that would technically break backwards compatibility.

Could there be situations where we don't want to escape?

Should we add a separate way of expanding a variable (so we have expansion with and without escaping)?

Also consider ' and perhaps other special characters.

joesiltberg commented 1 year ago

The tab character should also be considered. A tab cannot be included in a JSON string so must be replaced by \t if we expand a variable in a string.