owncloud / owncloud/user_ldap

[QA] Quota fields with parse errors should not be used

Open
#649 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
19
Avg merge
11h 40m
Merged PRs (30d)
2

Description

Seen in user_ldap 0.15.3-rc1 with core 10.8.0-beta1

In ldap, I specified 12x5 B as a user's quota value. This is a broken syntax. but it is accepted into ownCloud
image
Expected behaviour: It should be rejected. Fallback to ldap default quota or fallback to owncloud default quota.

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 by reproducing the reported LDAP quota input 12x5 B and trace where the quota value is parsed and accepted. Done means parse errors are rejected and the quota falls back to the LDAP default or the ownCloud default, as described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.