Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6614 closed defect (fixed)

dojo.string.trim breaks for strings that contain trailing whitespace and result in one character

Reported by: Ben Lowery Owned by: anonymous
Priority: high Milestone: 1.2
Component: General Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Ben Lowery)

dojo.string.trim(" a ") yields "a " It should yield "a".

Change History (3)

comment:1 Changed 12 years ago by Ben Lowery

Resolution: fixed
Status: newclosed

(In [13412]) fixes #6614. makes trims that result in one character and have trailing whitespace work for dojo.string.trim

comment:2 Changed 12 years ago by bill

Milestone: 1.1.11.2

Since this was only fixed on trunk, not on the 1.1 branch, marking milestone as 1.2

comment:3 Changed 12 years ago by Ben Lowery

Description: modified (diff)
Reporter: changed from guest to Ben Lowery
Summary: dojo.strim.trim breaks for strings that contain trailing whitespace and result in one characterdojo.string.trim breaks for strings that contain trailing whitespace and result in one character

Fixing the subject misspelling and reporter

Note: See TracTickets for help on using tickets.