Skip to content

Improve quota validation including a regexp which matches expected formats #25358

@SergioBertolinSG

Description

@SergioBertolinSG

Curently an admin user can enter a number probably followed by letters.
For example: "200", "15MB" or "5 GB" "20B".
Basically it's a number probably followed by letters.

Also floating point can be entered, but only in english style "2.5GB". Using a non english format for floats will lead to an old bug "4,5GB" also something like "45/0".

So the proposed enhancement by @PVince81 in #25253 is to develop a regexp to validate better this values.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions