Util.js trim doesn't do what it says.
Bug #1028544 reported by
Joseph
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The Javascript function trim()'s regex expression found in Util.js doesn't actually strip all trailing whitespace from the string given.
/^\s*(.+)?\s*$/
It looks like one of the ending spaces is removed, not all.
Tested in: Chromium 18.0.1025.168, Firefox 14.0.0.1
Evergreen Version: Head
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
milestone: | 2.4.0-rc → none |
no longer affects: | evergreen/2.4 |
Changed in evergreen: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
Branch: http:// git.evergreen- ils.org/ ?p=evergreen/ joelewis. git;a=shortlog; h=refs/ heads/lp_ 1028544