Opened 15 years ago

Last modified 15 years ago

#1057 closed defect

One error happened when setting Space as Log Delimiter. — at Initial Version

Reported by: christinebao Owned by: Steve Dang
Priority: medium Milestone: 2.2
Component: General Version: 2.0.2
Severity: major Keywords:
Cc: External ID: 1242050

Description

Steps to reproduce:

  1. Log in Site Administrator
  2. Configure Logs->Set Space as Log Delimiter->Save

One error happened:
Invalid argument(s):[1] =""The string was trimmed and it's size now differs from the original.

Diagnosis:
This defect is caused by a submission on Oct 14, 2006 about Configuration.cpp, Revision 883: MG408 (Security: Web Admin vulnerable to cross-site scripting attacks). It added a check when validate configuration and space is not allowed.

Fix:
It's unnecessary to filter space.

Change History (1)

by christinebao, 15 years ago

Attachment: RemoveSpaceCheck.patch added
Note: See TracTickets for help on using tickets.