You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating or updating an item where a field value contains a backslash (), the backslash is not being escaped correctly. The expected behaviour is that backslashes are stored as double backslashes (\) to ensure proper handling and functionality.
This issue causes unexpected behaviour in the application, as the fields with unescaped backslashes do not function as intended. Testing the same scenario directly with the API confirms that the correct escaping (double backslashes) resolves the issue.
mutation {
create_item (board_id: 1234567, group_id: "topics", item_name: "Testing", column_values: "{\"text0__1\": \"Testing with -> Backslash issues \ <- fails. \\n Other characters .&^%$# \"}") {
id
}
}
Bug Description
When creating or updating an item where a field value contains a backslash (), the backslash is not being escaped correctly. The expected behaviour is that backslashes are stored as double backslashes (\) to ensure proper handling and functionality.
This issue causes unexpected behaviour in the application, as the fields with unescaped backslashes do not function as intended. Testing the same scenario directly with the API confirms that the correct escaping (double backslashes) resolves the issue.
Workflow Example
To Reproduce
Expected behavior
Fields containing backslashes should automatically escape them as double backslashes (\) during creation or update.
Operating System
Ubuntu Server 20.04 LTS
n8n Version
1.68.1
Node.js Version
docker image
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: