History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XCF-1973
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Shruthi Sarpamale
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXconfig

Textfields in Login History page are not validated

Created: 2007-11-13 05:04   Updated: 2008-08-10 23:16
Component/s: None
Affects Version/s: 3.9.5
Fix Version/s: 3.11.5

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. File Issues in Login History fields.ods (19 kb)
2. Text File XCF-1973.patch (5 kb)

Environment:
sipxproxy 3.9.5-011240 2007-11-13T06:04:12 duck.pingtel.com
sipxconfig 3.9.5-011240 2007-11-13T06:23:36 duck.pingtel.com


 Description  « Hide
Submitting on behalf of Chaitra Sharma.

The following textfields are not validated in the Login History page.
1. Start Date
2. End Date
3. Start Time
4. End Time
5. User
6. Remote IP

The list of parameters with actual and expected results are attached as a spreadsheet : Issues in Login History fields.ods


 All   Comments   Work Log   Change History      Sort Order:
Prakash PM - 2008-04-01 07:00
Issue is reproducible in sipxconfig 3.10.1-012157 2008-03-31T01:57:49 oem-centos5.



Laurentiu Ceausescu - 2008-07-21 04:13
1-4 - will be resolved with XCF-2473 and XCF-2585;
    5 - I used "validSipUserId" validator;
    6 - I made a new validator: "validIPv4" validator.

Damian Krzeminski - 2008-07-25 15:02
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13184

XCF-1973 add validation to Login History page

Shruthi Sarpamale - 2008-08-10 23:16
Verified the issue in sipXconfig (3.11.5-013228 2008-08-07T14:43:41 oem-centos5) build.
The following error messages are displayed, when the fields mentioned above are validated.

1.User Textfield
- for Special Characters -"Only a limited set of characters is valid in SIP URLs. Spaces and some special characters are not allowed. For example: 321, joedoe, joe!?~*222"

2. Remote IP
- for Special Characters/ numeric numbers / alphanumeric characters - Please enter a valid IPv4 address, for example: 10.1.1.0

3. When End Date is smaller than Start Date -The End date cannot be earlier than the Start date.

4. For same Start and End date, when Start time greater than End time -The End date cannot be earlier than the Start date.

5.Start / End date - for Special Characters / numeric numbers / alphanumeric characters -Invalid date format for Start date. Format is HH:MM A.