Opened 15 years ago

Last modified 15 years ago

#1057 closed defect

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

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 (last modified by tomfukushima)

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 r883: 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 (3)

by christinebao, 15 years ago

Attachment: RemoveSpaceCheck.patch added

comment:1 by christinebao, 15 years ago

Attach patch for fixing.

comment:2 by tomfukushima, 15 years ago

Description: modified (diff)

Update summary by putting a r in front of the 883 so that clicking on it takes us to the revision.

Note: See TracTickets for help on using tickets.