JSON encryption error in Tome if IP contains a number >= 128

Created on 13 July 2023, 12 months ago

Problem/Motivation

When using this module in conjunction with the Tome Sync module β†’ , if you save an IP with a digit >= 128 Tome will throw a JSON encode exception due to the non-unicode characters.

Steps to reproduce

1. Setup a Drupal site with Tome Sync and IP Login installed and configured.
2. Use IP 100.100.100.100 on an IP login field and save
- This will successfully save the data as dddd in the Tome yaml file
3. Use IP 128.128.128.128 on an IP login field and save
- This will error

See screenshot for sample of data:

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia Deciphered

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024