jetnew / jetnew/ped

Functionality Bug: Phone number does not specify reasonable valid range

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
severity.Medium type.FunctionalityBug
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This issue reports a functionality bug where phone number does not specify reasonable valid range.

Steps to reproduce:
1. Start the app.
2. Run `add case t:1`.
3. Run `open case 1`.
4. Run `add victim n:Bob g:M`
5. Run `edit victim 1 p:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`.
6. Notice that although it is an invalid phone number, it is still accepted.

Screenshot:
![image.png](https://raw.githubusercontent.com/jetnew/ped/main/files/675f3fc8-0b35-4200-b373-d2bf8d24d5cd.png)

Severity: Medium as it may invalidate records during improper handling.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.