Skip to content

Database stores group names with special characters inconsistently #7674

@johanehnberg

Description

@johanehnberg

Describe the bug

The config values for enabled and groups_request_sign are different and causes issues

To reproduce

  1. Create a group "SÖ".
  2. Enable the libresign app for that group.
  3. Allow signature requests for that group.
  4. Inspect database with select configkey,configvalue from oc_appconfig where appid = 'libresign'; and observe
enabled | ["admin","S\u00d6"]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
groups_request_sign | ["admin","SÖ"]

This is potentially also causing a render issue in the "Allow request to sign" multitag input field, which won't show all of the groups.

Expected behavior

Database follows one character policy

Screenshots

No response

Environment information

  • Ubuntu 24.04 server with Ubuntu repository LAMP stack
  • Nextcloud Hub 26 Winter (33.0.3) tarball install
  • Libresign 13.2.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    0. Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions