⚠️ This issue respects the following points: ⚠️
Bug description
In public shares,
- setting a custom token
- with too long a string
- fails with error, but no info why
32 chars seems to be the limit.
Steps to reproduce
- create pub share
- set custom token (ie "skdcjiwddhvsdfjhsbjhb-ABC-WWWWWWW-INFO-COLLECTION"
- Save: Result: Error
Expected behavior
Should hint with "maximum characters of 32 reached"
Nextcloud Server version
33
Operating system
None
PHP engine version
None
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type character varying(32)
Additional info
String Length Checks:
this 33 chars FAILS:
echo -n "skdcjiwddhvsdfjhsbjhb-ABC-WWWWWWW" |wc -c
33
this 32 chars SUCCEEDS
echo -n "skdcjiwddhvsdfjhsbjhb-ABC-WWWWWW" |wc -c
32
Bug description
In public shares,
32 chars seems to be the limit.
Steps to reproduce
Expected behavior
Should hint with "maximum characters of 32 reached"
Nextcloud Server version
33
Operating system
None
PHP engine version
None
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type character varying(32)Additional info
String Length Checks:
this 33 chars FAILS:
this 32 chars SUCCEEDS