I saw this post and if you are using Postgres, I would be careful about adding the special characters / and \
It will likely break your cs database implementation if you are using Postgres.
To defend against this Postgres challenge, I added a filter on the front end, so these characters, and others, cannot be sent to CS.
The Postgres CS database schema definition for your user data field value is bytea and under the latest version of Postgres, the / and \ are special characters that will not be saved in this field without escaping it. So, if you save the data and these special characters are within it, it will not save the data. You might not notice it, until you realize that your user data is not being saved. And to fix this, it is a rabbit hole for now. Best to just avoid it altogether, unless you have a solution.
You will need to modify the Postgres cs code and database definition.
In short, I would stay away from using any reference of / and \ in anything that might make it to your user files. Actually, I would scan all of your code and get rid of anything that uses these characters.
If someone has a clever workaround, please let me know.