Skip to content

Limit size of properties to 2048 characters - #26433

Merged
rullzer merged 1 commit into
masterfrom
limit-max-length-of-properties
Apr 8, 2021
Merged

Limit size of properties to 2048 characters#26433
rullzer merged 1 commit into
masterfrom
limit-max-length-of-properties

Conversation

@LukasReschke

Copy link
Copy Markdown
Member

It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.

@LukasReschkeLukasReschke added the 3. to review Waiting for reviews label Apr 6, 2021
@LukasReschke
LukasReschkeforce-pushed the limit-max-length-of-properties branch from 4d5b1c4 to b1084ecCompareApril 6, 2021 16:23
Comment threadlib/private/Accounts/AccountManager.php Outdated

@nickvergessennickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

@LukasReschke
LukasReschkeforce-pushed the limit-max-length-of-properties branch from ed8ccad to 44b25efCompareApril 7, 2021 11:48
@rullzer
rullzerforce-pushed the limit-max-length-of-properties branch from 44b25ef to 2befac6CompareApril 8, 2021 09:55
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@rullzer
rullzer merged commit 3ab659c into masterApr 8, 2021
@rullzer
rullzer deleted the limit-max-length-of-properties branch April 8, 2021 10:38
@LukasReschke

Copy link
Copy Markdown
MemberAuthor

/backport to stable21

@LukasReschke

Copy link
Copy Markdown
MemberAuthor

/backport to stable20

@LukasReschke

Copy link
Copy Markdown
MemberAuthor

/backport to stable19

@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable19 failed. Please do this backport manually.

@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable20 failed. Please do this backport manually.

LukasReschke added a commit that referenced this pull request Apr 13, 2021
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.
Backport of #26433
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
LukasReschke added a commit that referenced this pull request Apr 13, 2021
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.
Backport of #26433
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
rullzer pushed a commit that referenced this pull request Apr 29, 2021
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.
Backport of #26433
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
rullzer pushed a commit that referenced this pull request Apr 29, 2021
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.
Backport of #26433
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@LukasReschke@rullzer@nickvergessen