nextcloud / nextcloud/server

Increase max string length of account properties

Open
#29,347 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: profile feature: settings
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Users may want to add longer text to some account property fields such as Biography/About. Currently the max length is 2048 characters, see below https://github.com/nextcloud/server/blob/4dc226ee9195f0a1f5c859525c91f7a08b3feb31/lib/private/Accounts/AccountManager.php#L197-L199

We may either increase the max length for all properties or just for Biography, and if this is the case then we should decide on what this new max length should be :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at lib/private/Accounts/AccountManager.php lines 197-199 and inspect how account-property lengths are validated. Confirm whether the change applies to Biography/About or all properties, decide the new limit, and verify the affected account-property behavior with the repository’s relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.